Component evidence
Defines binding of activities to events and states in a MassTransit saga state machine. Use when implementing custom saga behavior with event-driven state transitions.
// Source: https://github.com/MassTransit/MassTransit | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
namespace MassTransit.SagaStateMachine
{
public interface IActivityBinder<TSaga>
where TSaga : class, SagaStateMachineInstance
{
Event Event { get; }
/// <summary>
/// Returns True if the event is a state transition event (enter/leave/afterLeave/beforeEnter)
/// for the specified state.
/// </summary>
/// <param name="state"></param>
/// <returns></returns>
bool IsStateTransitionEvent(State state);
/// <summary>
/// Binds the activity to the state, may also just ignore the event if it
... (truncated -- full source via MCP)