Search Results for

    Show / Hide Table of Contents

    Class CandidatePairInfo

    Candidate pair information.

    Inheritance
    System.Object
    Info
    CandidatePairInfo
    Inherited Members
    Info.Id
    Info.ProcessBoolean(Boolean, Boolean)
    Info.ProcessShort(Int16, Int16)
    Info.ProcessInteger(Int32, Int32)
    Info.ProcessLong(Int64, Int64)
    Info.ProcessFloat(Single, Single)
    Info.ProcessDouble(Double, Double)
    Info.ProcessString(String, String)
    Info.ProcessBooleanArray(Boolean[], Boolean[])
    Info.ProcessShortArray(Int16[], Int16[])
    Info.ProcessIntegerArray(Int32[], Int32[])
    Info.ProcessLongArray(Int64[], Int64[])
    Info.ProcessFloatArray(Single[], Single[])
    Info.ProcessFloatArray(Double[], Double[])
    Info.ProcessObject<T>(T, T)
    Info.ProcessArray<T>(T[], T[])
    Namespace: FM.LiveSwitch
    Assembly: FM.LiveSwitch.dll
    Syntax
    public class CandidatePairInfo : Info

    Constructors

    CandidatePairInfo()

    Initializes a new instance of the CandidatePairInfo class.

    Declaration
    public CandidatePairInfo()

    Properties

    LocalCandidateId

    Gets or sets the candidate pair's local candidate identifier.

    Declaration
    public string LocalCandidateId { get; set; }
    Property Value
    Type Description
    System.String

    Nominated

    Gets or sets whether the candidate pair is nominated.

    Declaration
    public bool? Nominated { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Boolean>

    Priority

    Gets or sets the candidate pair priority.

    Declaration
    public long? Priority { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int64>

    RemoteCandidateId

    Gets or sets the candidate pair's remote candidate identifier.

    Declaration
    public string RemoteCandidateId { get; set; }
    Property Value
    Type Description
    System.String

    Report

    Gets or sets whether the candidate pair report.

    Declaration
    public CandidatePairReport Report { get; set; }
    Property Value
    Type Description
    CandidatePairReport

    State

    Gets or sets the candidate pair state.

    Declaration
    public string State { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    DeserializeProperties(String, String)

    Deserializes the properties.

    Declaration
    protected override void DeserializeProperties(string key, string valueJson)
    Parameters
    Type Name Description
    System.String key

    The key.

    System.String valueJson

    The value in JSON format.

    Overrides
    Info.DeserializeProperties(String, String)

    FromJson(String)

    Deserializes an instance from JSON.

    Declaration
    public static CandidatePairInfo FromJson(string instanceJson)
    Parameters
    Type Name Description
    System.String instanceJson

    The instance JSON.

    Returns
    Type Description
    CandidatePairInfo

    The deserialized instance.

    FromJsonArray(String)

    Derializes an array from JSON.

    Declaration
    public static CandidatePairInfo[] FromJsonArray(string arrayJson)
    Parameters
    Type Name Description
    System.String arrayJson

    The array JSON.

    Returns
    Type Description
    CandidatePairInfo[]

    The deserialized array.

    SerializeProperties(Dictionary<String, String>)

    Serializes the properties.

    Declaration
    protected override void SerializeProperties(Dictionary<string, string> jsonObject)
    Parameters
    Type Name Description
    Dictionary<System.String, System.String> jsonObject

    The JSON object.

    Overrides
    Info.SerializeProperties(Dictionary<String, String>)

    ToJson()

    Serializes this instance to JSON.

    Declaration
    public string ToJson()
    Returns
    Type Description
    System.String

    ToJson(CandidatePairInfo)

    Serializes an instance to JSON.

    Declaration
    public static string ToJson(CandidatePairInfo instance)
    Parameters
    Type Name Description
    CandidatePairInfo instance

    The instance.

    Returns
    Type Description
    System.String

    The serialized instance JSON.

    ToJsonArray(CandidatePairInfo[])

    Serializes an array to JSON.

    Declaration
    public static string ToJsonArray(CandidatePairInfo[] array)
    Parameters
    Type Name Description
    CandidatePairInfo[] array

    The array.

    Returns
    Type Description
    System.String

    The serialized array JSON.

    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0