protected virtual string ToJson <T>(T @event)
 {
     return(formatter.ToPayload(@event));
 }
Example #2
0
 protected virtual string ToPayloadJson <T>(T @event)
 {
     return(formatter.ToPayload <T>(@event).ToString());
 }