Exemplo n.º 1
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));
 }
Exemplo n.º 2
0
 public static ReportMessage.Session.Event Create(string name, string jsonData = null)
 {
     return(EventFactory.Create(ReportMessage.Session.Event.EventType.EVENT_CLIENT, jsonData, name));
 }