CaptureSagaStateBehavior(string endpointName, ServiceControlBackend backend, Func <object, Dictionary <string, string> > customSagaEntitySerialization) { this.endpointName = endpointName; this.backend = backend; this.customSagaEntitySerialization = customSagaEntitySerialization; }
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"); }