Example #1
0
 CaptureSagaStateBehavior(string endpointName, ServiceControlBackend backend, Func <object, Dictionary <string, string> > customSagaEntitySerialization)
 {
     this.endpointName = endpointName;
     this.backend      = backend;
     this.customSagaEntitySerialization = customSagaEntitySerialization;
 }
Example #2
0
 public CaptureSagaStateRegistration(string endpointName, ServiceControlBackend backend, Func <object, Dictionary <string, string> > customSagaEntitySerialization)
     : base("CaptureSagaState", typeof(CaptureSagaStateBehavior), "Records saga state changes", b => new CaptureSagaStateBehavior(endpointName, backend, customSagaEntitySerialization))
 {
     InsertBefore("InvokeSaga");
 }