C# Class Microsoft.DocAsCode.SubCommands.CommandController

Inheritance: ISubCommandController
Afficher le fichier Open project: dotnet/docfx

Private Properties

Свойство Type Description
GetContainer System.Composition.Hosting.CompositionHost
GetSubCommandHelpText string
GetSubCommandHelpTextLines IEnumerable

Méthodes publiques

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

Private Methods

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

Method Details

CommandController() public méthode

public CommandController ( string args ) : System
args string
Résultat System

Create() public méthode

public Create ( ) : ISubCommand
Résultat ISubCommand

GetHelpText() public méthode

public GetHelpText ( ) : string
Résultat string

GetVersionText() public méthode

public GetVersionText ( ) : string
Résultat string

TryGetCommandCreator() public méthode

public TryGetCommandCreator ( string name, ISubCommandCreator &creator ) : bool
name string
creator ISubCommandCreator
Résultat bool