Search Results for

    Show / Hide Table of Contents

    Class ClientConfig

    Client configuration.

    Inheritance
    System.Object
    ClientConfig
    Namespace: FM.LiveSwitch
    Assembly: FM.LiveSwitch.dll
    Syntax
    public class ClientConfig : object

    Properties

    DeviceAlias

    Gets or sets the Device Alias.

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

    Roles

    Gets or sets the Roles.

    Declaration
    public string[] Roles { get; set; }
    Property Value
    Type Description
    System.String[]

    Tag

    Gets or sets the Tag.

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

    UserAlias

    Gets or sets the User Alias.

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

    Methods

    FromJson(String)

    Deserializes an instance from JSON.

    Declaration
    public static ClientConfig FromJson(string clientConfigJson)
    Parameters
    Type Name Description
    System.String clientConfigJson

    The JSON to deserialize.

    Returns
    Type Description
    ClientConfig

    The deserialized client config.

    ToJson()

    Serializes this instance to JSON.

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

    ToJson(ClientConfig)

    Serializes an instance to JSON.

    Declaration
    public static string ToJson(ClientConfig clientConfig)
    Parameters
    Type Name Description
    ClientConfig clientConfig

    The client config to serialize.

    Returns
    Type Description
    System.String

    The serialized JSON.

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