C# Class Microsoft.DocAsCode.SubCommands.CommandController

Inheritance: ISubCommandController
Mostrar archivo Open project: dotnet/docfx

Private Properties

Property Type Description
GetContainer System.Composition.Hosting.CompositionHost
GetSubCommandHelpText string
GetSubCommandHelpTextLines IEnumerable

Public Methods

Method Description
CommandController ( string args ) : System
Create ( ) : ISubCommand
GetHelpText ( ) : string
GetVersionText ( ) : string
TryGetCommandCreator ( string name, ISubCommandCreator &creator ) : bool

Private Methods

Method Description
GetContainer ( ) : System.Composition.Hosting.CompositionHost
GetSubCommandHelpText ( BaseCommandOption option, int paddingLeft, int leftWidth ) : string
GetSubCommandHelpTextLines ( IEnumerable options ) : IEnumerable

Method Details

CommandController() public method

public CommandController ( string args ) : System
args string
return System

Create() public method

public Create ( ) : ISubCommand
return ISubCommand

GetHelpText() public method

public GetHelpText ( ) : string
return string

GetVersionText() public method

public GetVersionText ( ) : string
return string

TryGetCommandCreator() public method

public TryGetCommandCreator ( string name, ISubCommandCreator &creator ) : bool
name string
creator ISubCommandCreator
return bool