C# Class Simple.Generator.Console.ContextBase

Inheritance: System.MarshalByRefObject
显示文件 Open project: juanplopes/simple Class Usage Examples

Public Methods

Method Description
Execute ( string command, bool interactive ) : void

Protected Methods

Method Description
Configure ( ) : CommandResolver
ContextBase ( string projectText, string defaultEnv ) : System
Init ( ) : void
OnAfterExecute ( ICommand commandObject, string command, bool interactive ) : void
OnBeforeExecute ( ICommand commandObject, string command, bool interactive ) : void
OnBeforeParse ( string command, bool interactive ) : void

Private Methods

Method Description
ConfigureLogging ( ) : void

Method Details

Configure() protected abstract method

protected abstract Configure ( ) : CommandResolver
return CommandResolver

ContextBase() protected method

protected ContextBase ( string projectText, string defaultEnv ) : System
projectText string
defaultEnv string
return System

Execute() public method

public Execute ( string command, bool interactive ) : void
command string
interactive bool
return void

Init() protected method

protected Init ( ) : void
return void

OnAfterExecute() protected method

protected OnAfterExecute ( ICommand commandObject, string command, bool interactive ) : void
commandObject ICommand
command string
interactive bool
return void

OnBeforeExecute() protected method

protected OnBeforeExecute ( ICommand commandObject, string command, bool interactive ) : void
commandObject ICommand
command string
interactive bool
return void

OnBeforeParse() protected method

protected OnBeforeParse ( string command, bool interactive ) : void
command string
interactive bool
return void