Пример #1
0
 public static ReportMessage.Session.Event Create(
     ReportMessage.Session.Event.EventType type,
     string value,
     string name = null)
 {
     return(EventFactory.Create(type, value == null ? (byte[])null : Encoding.UTF8.GetBytes(value), name, (string)null));
 }
Пример #2
0
 public static ReportMessage.Session.Event Create <TItem>(
     string name,
     TItem serializableItem)
 {
     return(EventFactory.Create(ReportMessage.Session.Event.EventType.EVENT_CLIENT, ((object)serializableItem).ToJson(JsonProfile.GetFormatted(), (System.Type)null, 1), name));
 }
Пример #3
0
 public static ReportMessage.Session.Event Create(string name, string jsonData = null)
 {
     return(EventFactory.Create(ReportMessage.Session.Event.EventType.EVENT_CLIENT, jsonData, name));
 }