public BrokeredMessage Convert(IEvent x)
 => new BrokeredMessage(_serializer.Serialize(x));
Ejemplo n.º 2
0
 private PerformedOperationFinalProcessing Serialize(IEvent @event)
 => new PerformedOperationFinalProcessing
 {
     OperationId = Guid.NewGuid(),
     Context     = _serializer.Serialize(@event).ToString(SaveOptions.DisableFormatting)
 };