Class CandidateUtility
Utility functions for candidate and candidate pair.
Inheritance
System.Object
CandidateUtility
Assembly: FM.LiveSwitch.dll
Syntax
public class CandidateUtility : object
Methods
CandidatePairStateFromString(String)
Convert string to CandidatePairState.
Declaration
public static CandidatePairState CandidatePairStateFromString(string stateString)
Parameters
Type |
Name |
Description |
System.String |
stateString |
|
Returns
CandidatePairStateToString(CandidatePairState)
Convert CandidatePairState to string.
Declaration
public static string CandidatePairStateToString(CandidatePairState state)
Parameters
Returns
Type |
Description |
System.String |
|
ProtocolTypeFromString(String)
Convert string to ProtocolType.
Declaration
public static ProtocolType ProtocolTypeFromString(string protocolTypeString)
Parameters
Type |
Name |
Description |
System.String |
protocolTypeString |
|
Returns
ProtocolTypeToString(ProtocolType)
Convert ProtocolType to string.
Declaration
public static string ProtocolTypeToString(ProtocolType protocolType)
Parameters
Returns
Type |
Description |
System.String |
|
TypeFromString(String)
Convert string to CandidateType.
Declaration
public static CandidateType TypeFromString(string typeString)
Parameters
Type |
Name |
Description |
System.String |
typeString |
|
Returns
TypeToString(CandidateType)
Convert CandidateType to string.
Declaration
public static string TypeToString(CandidateType type)
Parameters
Returns
Type |
Description |
System.String |
|