public FaultedSendActivity(DestinationAddressProvider <TInstance> destinationAddressProvider, AsyncEventExceptionMessageFactory <TInstance, TException, TMessage> messageFactory, SendContextCallback <TInstance, TMessage> contextCallback) : this(messageFactory, contextCallback) { _destinationAddressProvider = destinationAddressProvider; }
public static ExceptionActivityBinder <TInstance, TException> SendAsync <TInstance, TException, TMessage>( this ExceptionActivityBinder <TInstance, TException> source, Task <TMessage> message, SendContextCallback <TInstance, TMessage> contextCallback) where TInstance : class, SagaStateMachineInstance where TMessage : class where TException : Exception { return(source.Add(new SendActivity <TInstance, TMessage>(x => message, contextCallback))); }
public static ExceptionActivityBinder <TInstance, TData, TException> SendAsync <TInstance, TData, TException, TMessage>( this ExceptionActivityBinder <TInstance, TData, TException> source, AsyncEventExceptionMessageFactory <TInstance, TData, TException, TMessage> messageFactory, SendContextCallback <TInstance, TData, TMessage> contextCallback) where TInstance : class, SagaStateMachineInstance where TData : class where TMessage : class where TException : Exception { return(source.Add(new FaultedSendActivity <TInstance, TData, TException, TMessage>(messageFactory, contextCallback))); }
FaultedSendActivity(SendContextCallback <TInstance, TMessage> contextCallback) { _contextCallback = contextCallback; }
public FaultedSendActivity(AsyncEventExceptionMessageFactory <TInstance, TException, TMessage> messageFactory, SendContextCallback <TInstance, TMessage> contextCallback) : this(contextCallback) { _asyncMessageFactory = messageFactory; }
public static EventActivityBinder <TInstance, TData> SendAsync <TInstance, TData, TMessage>(this EventActivityBinder <TInstance, TData> source, AsyncEventMessageFactory <TInstance, TData, TMessage> messageFactory, SendContextCallback <TInstance, TData, TMessage> contextCallback) where TInstance : class, SagaStateMachineInstance where TData : class where TMessage : class { return(source.Add(new SendActivity <TInstance, TData, TMessage>(messageFactory, contextCallback))); }
public static EventActivityBinder <TInstance> Send <TInstance, TMessage>(this EventActivityBinder <TInstance> source, TMessage message, SendContextCallback <TInstance, TMessage> contextCallback) where TInstance : class, SagaStateMachineInstance where TMessage : class { return(source.Add(new SendActivity <TInstance, TMessage>(x => message, contextCallback))); }
public SendActivity(AsyncEventMessageFactory <TInstance, TMessage> messageFactory, SendContextCallback <TInstance, TMessage> contextCallback) : this(contextCallback) { _asyncMessageFactory = messageFactory; }
public SendActivity(DestinationAddressProvider <TInstance> destinationAddressProvider, EventMessageFactory <TInstance, TMessage> messageFactory, SendContextCallback <TInstance, TMessage> contextCallback) : this(messageFactory, contextCallback) { _destinationAddressProvider = destinationAddressProvider; }