Class ReadOnlyModelSettings
A read-only definition for energy settings
Namespace: Scripting
Syntax
public class ReadOnlyModelSettings
Constructors
ReadOnlyModelSettings()
Creates an instance of the ReadOnlyModelSettings class.
Declaration
public ReadOnlyModelSettings()
Properties
EnergySettings
Gets the read-only energy settings
Declaration
public ReadOnlyEnergySettings EnergySettings { get; }
Property Value
Type | Description |
---|---|
ReadOnlyEnergySettings |
Methods
Equals(ReadOnlyModelSettings)
Tests a ReadOnlyModelSettings against this current ReadOnlyModelSettings for equality.
Declaration
public bool Equals(ReadOnlyModelSettings val)
Parameters
Type | Name | Description |
---|---|---|
ReadOnlyModelSettings | val |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Equals(Object)
Tests a System.Object against this current ReadOnlyModelSettings for equality.
Declaration
public override bool Equals(object toCompare)
Parameters
Type | Name | Description |
---|---|---|
System.Object | toCompare |
Returns
Type | Description |
---|---|
System.Boolean | True if object is equal otherwise false is returned. |
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Gets the hash code for this object.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | The hash code for this object. |
Overrides
System.Object.GetHashCode()
Operators
Equality(ReadOnlyModelSettings, ReadOnlyModelSettings)
Tests a ReadOnlyModelSettings against this current ReadOnlyModelSettings for equality.
Declaration
public static bool operator ==(ReadOnlyModelSettings a, ReadOnlyModelSettings b)
Parameters
Type | Name | Description |
---|---|---|
ReadOnlyModelSettings | a | |
ReadOnlyModelSettings | b |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Inequality(ReadOnlyModelSettings, ReadOnlyModelSettings)
Tests a ReadOnlyModelSettings against this current ReadOnlyModelSettings for inequality.
Declaration
public static bool operator !=(ReadOnlyModelSettings a, ReadOnlyModelSettings b)
Parameters
Type | Name | Description |
---|---|---|
ReadOnlyModelSettings | a | |
ReadOnlyModelSettings | b |
Returns
Type | Description |
---|---|
System.Boolean | True if not equal otherwise false is returned. |