Class Climate
Namespace: Scripting
Syntax
public class Climate
Constructors
Climate()
Creates an instance of the Climate class.
Declaration
public Climate()
Properties
SolarResources
Declaration
public IList<SolarResource> SolarResources { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<SolarResource> |
Methods
Equals(Climate)
Declaration
public bool Equals(Climate val)
Parameters
Type | Name | Description |
---|---|---|
Climate | val |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Equals(Object)
Tests a System.Object against this current Climate 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(Climate, Climate)
Declaration
public static bool operator ==(Climate a, Climate b)
Parameters
Type | Name | Description |
---|---|---|
Climate | a | |
Climate | b |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Inequality(Climate, Climate)
Declaration
public static bool operator !=(Climate a, Climate b)
Parameters
Type | Name | Description |
---|---|---|
Climate | a | |
Climate | b |
Returns
Type | Description |
---|---|
System.Boolean | True if not equal otherwise false is returned. |