Class APIOutputModeExtensions
Inheritance
System.Object
APIOutputModeExtensions
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 APIOutputModeExtensions
Methods
Get(APIOutputMode, Byte)
Gets the APIOutputMode associated with the specified ID value
.
Declaration
public static APIOutputMode Get(this APIOutputMode source, byte value)
Parameters
Type | Name | Description |
---|---|---|
APIOutputMode | source | |
System.Byte | value | ID value to retrieve APIOutputMode. |
Returns
Type | Description |
---|---|
APIOutputMode | The APIOutputMode for the specified ID |
GetDescription(APIOutputMode)
Gets the API output mode description.
Declaration
public static string GetDescription(this APIOutputMode source)
Parameters
Type | Name | Description |
---|---|---|
APIOutputMode | source |
Returns
Type | Description |
---|---|
System.String | API output mode description. |
GetValue(APIOutputMode)
Gets the API output mode value.
Declaration
public static byte GetValue(this APIOutputMode source)
Parameters
Type | Name | Description |
---|---|---|
APIOutputMode | source |
Returns
Type | Description |
---|---|
System.Byte | API output mode value. |
ToDisplayString(APIOutputMode)
Gets the string representation of the API output mode.
Declaration
public static string ToDisplayString(this APIOutputMode source)
Parameters
Type | Name | Description |
---|---|---|
APIOutputMode | source |
Returns
Type | Description |
---|---|
System.String | String representation of the API output mode. |