C# Class ZeroInstall.Commands.MockCommandHandler

A minimalistic ICommandHandler that allows you to pre-record answers and retrieve output.
Inheritance: MockTaskHandler, ICommandHandler
显示文件 Open project: 0install/0install-win Class Usage Examples

Public Methods

Method Description
CloseUI ( ) : void
CustomizeSelections ( Func solveCallback ) : void
DisableUI ( ) : void
ManageStore ( IStore store, IFeedCache feedCache ) : void
ShowConfig ( Config config, ConfigTab configTab ) : void
ShowFeedSearch ( SearchQuery query ) : void
ShowIntegrateApp ( IntegrationState state ) : void
ShowSelections ( Selections selections, IFeedManager feedManager ) : void

Fakes showing Selections to the user.

Method Details

CloseUI() public method

public CloseUI ( ) : void
return void

CustomizeSelections() public method

public CustomizeSelections ( Func solveCallback ) : void
solveCallback Func
return void

DisableUI() public method

public DisableUI ( ) : void
return void

ManageStore() public method

public ManageStore ( IStore store, IFeedCache feedCache ) : void
store IStore
feedCache IFeedCache
return void

ShowConfig() public method

public ShowConfig ( Config config, ConfigTab configTab ) : void
config ZeroInstall.Store.Config
configTab ConfigTab
return void

ShowFeedSearch() public method

public ShowFeedSearch ( SearchQuery query ) : void
query ZeroInstall.Services.Feeds.SearchQuery
return void

ShowIntegrateApp() public method

public ShowIntegrateApp ( IntegrationState state ) : void
state ZeroInstall.DesktopIntegration.ViewModel.IntegrationState
return void

ShowSelections() public method

Fakes showing Selections to the user.
public ShowSelections ( Selections selections, IFeedManager feedManager ) : void
selections Selections
feedManager IFeedManager
return void