C# Class Lemon.Core.DiscoverProcess

显示文件 Open project: dream-365/lemon Class Usage Examples

Public Methods

Method Description
LoadSettings ( string path ) : void
OnNew ( Action action ) : void
SetBuildIndexProivder ( IBuildIndexProvider provider ) : void
SetMessageQueueProvider ( IMessageQueueProvider provider ) : void
Start ( string name, string collection = null, string handler = null ) : void

Method Details

LoadSettings() public method

public LoadSettings ( string path ) : void
path string
return void

OnNew() public method

public OnNew ( Action action ) : void
action Action
return void

SetBuildIndexProivder() public method

public SetBuildIndexProivder ( IBuildIndexProvider provider ) : void
provider IBuildIndexProvider
return void

SetMessageQueueProvider() public method

public SetMessageQueueProvider ( IMessageQueueProvider provider ) : void
provider IMessageQueueProvider
return void

Start() public method

public Start ( string name, string collection = null, string handler = null ) : void
name string
collection string
handler string
return void