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