C# Class NServiceBus.Features.FeatureStartupTaskController

ファイルを表示 Open project: Particular/NServiceBus

Public Methods

Method Description
FeatureStartupTaskController ( string name, FeatureStartupTask>.Func factory ) : System
Start ( IBuilder builder, IMessageSession messageSession ) : System.Threading.Tasks.Task
Stop ( IMessageSession messageSession ) : System.Threading.Tasks.Task

Private Methods

Method Description
DisposeIfNecessary ( FeatureStartupTask task ) : void

Method Details

FeatureStartupTaskController() public method

public FeatureStartupTaskController ( string name, FeatureStartupTask>.Func factory ) : System
name string
factory FeatureStartupTask>.Func
return System

Start() public method

public Start ( IBuilder builder, IMessageSession messageSession ) : System.Threading.Tasks.Task
builder IBuilder
messageSession IMessageSession
return System.Threading.Tasks.Task

Stop() public method

public Stop ( IMessageSession messageSession ) : System.Threading.Tasks.Task
messageSession IMessageSession
return System.Threading.Tasks.Task