Class EventBatch
An event batch.
Inheritance
System.Object
EventBatch
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class EventBatch
Properties
Events
Gets or sets the events.
Declaration
public EventInfo[] Events { get; set; }
Property Value
Type | Description |
---|---|
EventInfo[] |
Methods
DeserializeProperty(String, String)
Deserializes the property.
Declaration
protected void DeserializeProperty(string key, string valueJson)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key. |
System.String | valueJson | The value in JSON format. |
FromJson(String)
Deserializes an instance from JSON.
Declaration
public static EventBatch FromJson(string instanceJson)
Parameters
Type | Name | Description |
---|---|---|
System.String | instanceJson |
Returns
Type | Description |
---|---|
EventBatch |
SerializeProperties(Dictionary<String, String>)
Serializes the properties.
Declaration
protected void SerializeProperties(Dictionary<string, string> jsonObject)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.Dictionary<System.String, System.String> | jsonObject | The JSON object. |
ToJson()
Serializes this instance to JSON.
Declaration
public string ToJson()
Returns
Type | Description |
---|---|
System.String |
ToJson(EventBatch)
Serializes an instance to JSON.
Declaration
public static string ToJson(EventBatch instance)
Parameters
Type | Name | Description |
---|---|---|
EventBatch | instance |
Returns
Type | Description |
---|---|
System.String |