Class ChannelDeviceLayoutConfig
Channel device layout configuration.
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class ChannelDeviceLayoutConfig : LayoutConfig
Properties
ExcludedClientIds
Gets or sets the client identifiers to exclude.
Declaration
public string[] ExcludedClientIds { get; set; }
Property Value
Type | Description |
---|---|
System.String[] |
ExcludedConnectionIds
Gets or sets the connection identifiers to exclude.
Declaration
public string[] ExcludedConnectionIds { 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
FromJson(String)
Deserializes a channel device layout config from JSON.
Declaration
public static ChannelDeviceLayoutConfig FromJson(string channelDeviceLayoutConfigJson)
Parameters
Type | Name | Description |
---|---|---|
System.String | channelDeviceLayoutConfigJson | The channel device layout configuration as JSON. |
Returns
Type | Description |
---|---|
ChannelDeviceLayoutConfig | The channel device layout configuration. |
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
ToJson()
Serializes this channel device layout configuration to JSON.
Declaration
public string ToJson()
Returns
Type | Description |
---|---|
System.String | The channel device layout configuration as JSON. |
ToJson(ChannelDeviceLayoutConfig)
Serializes a channel device layout config to JSON.
Declaration
public static string ToJson(ChannelDeviceLayoutConfig channelDeviceLayoutConfig)
Parameters
Type | Name | Description |
---|---|---|
ChannelDeviceLayoutConfig | channelDeviceLayoutConfig | The channel device layout configuration. |
Returns
Type | Description |
---|---|
System.String | The channel device layout configuration as JSON. |