Class OperatingModeExtensions
Inheritance
System.Object
OperatingModeExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: XBeeLibrary.Core.Models
Assembly: XBeeLibrary.Core.dll
Syntax
public static class OperatingModeExtensions
Methods
GetID(OperatingMode)
Gets the operating mode ID.
Declaration
public static int GetID(this OperatingMode source)
Parameters
Type | Name | Description |
---|---|---|
OperatingMode | source |
Returns
Type | Description |
---|---|
System.Int32 | The operating mode ID. |
GetName(OperatingMode)
Gets the operating mode name.
Declaration
public static string GetName(this OperatingMode source)
Parameters
Type | Name | Description |
---|---|---|
OperatingMode | source |
Returns
Type | Description |
---|---|
System.String | The operating mode name. |
ToDisplayString(OperatingMode)
Returns the OperatingMode in string format.
Declaration
public static string ToDisplayString(this OperatingMode source)
Parameters
Type | Name | Description |
---|---|---|
OperatingMode | source |
Returns
Type | Description |
---|---|
System.String | The OperatingMode in string format. |