C# Class MassTransit.AutofacStateMachineLoadSagaExtensions

Datei anzeigen Open project: MassTransit/MassTransit

Public Methods

Method Description
FindStateMachineSagaTypes ( IComponentContext context ) : IList
LoadStateMachineSagas ( this configurator, IComponentContext context, string name = "message" ) : void

Scans the lifetime scope and registers any state machines sagas which are found in the scope using the Autofac saga repository and the appropriate state machine saga repository under the hood.

Method Details

FindStateMachineSagaTypes() public static method

public static FindStateMachineSagaTypes ( IComponentContext context ) : IList
context IComponentContext
return IList

LoadStateMachineSagas() public static method

Scans the lifetime scope and registers any state machines sagas which are found in the scope using the Autofac saga repository and the appropriate state machine saga repository under the hood.
public static LoadStateMachineSagas ( this configurator, IComponentContext context, string name = "message" ) : void
configurator this
context IComponentContext
name string
return void