Class InternalNetworkInfo
Internal network information.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class InternalNetworkInfo : NetworkInfo
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 Json to a InternalNetworkInfo.
Declaration
public static InternalNetworkInfo FromJson(string networkInfoJson)
Parameters
Type | Name | Description |
---|---|---|
System.String | networkInfoJson | The serialized Json. |
Returns
Type | Description |
---|---|
InternalNetworkInfo | The deserialized InternalNetworkInfo. |
SerializeProperties(Dictionary<String, String>)
Serializes the properties.
Declaration
protected override void SerializeProperties(Dictionary<string, string> jsonObject)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.Dictionary<System.String, System.String> | jsonObject | The JSON object. |
Overrides
ToJson(InternalNetworkInfo)
Serializes an instance to Json.
Declaration
public static string ToJson(InternalNetworkInfo networkInfo)
Parameters
Type | Name | Description |
---|---|---|
InternalNetworkInfo | networkInfo | The instance to serialize. |
Returns
Type | Description |
---|---|
System.String | Serialized Json. |