Delegate StateMachineCondition<TSaga>
- Namespace
- MassTransit
- Assembly
- MassTransit.Abstractions.dll
Filters activities based on the conditional statement
public delegate bool StateMachineCondition<TSaga>(BehaviorContext<TSaga> context) where TSaga : class, ISaga
Parameters
context
BehaviorContext<TSaga>
Returns
Type Parameters
TSaga
Constructors
StateMachineCondition(object, nint)
public StateMachineCondition(object @object, nint method)
Parameters
Methods
BeginInvoke(BehaviorContext<TSaga>, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(BehaviorContext<TSaga> context, AsyncCallback callback, object @object)
Parameters
context
BehaviorContext<TSaga>callback
AsyncCallbackobject
object
Returns
EndInvoke(IAsyncResult)
public virtual bool EndInvoke(IAsyncResult result)
Parameters
result
IAsyncResult
Returns
Invoke(BehaviorContext<TSaga>)
public virtual bool Invoke(BehaviorContext<TSaga> context)
Parameters
context
BehaviorContext<TSaga>