C# Class qtools.Core.CLI.BaseProgram

显示文件 Open project: jondot/qtools

Protected Methods

Method Description
ExecuteSafely ( string subject, IQueueTools tools, IOutput output, Func action ) : bool
ExecuteSafelyForEachInput ( IInput input, IQueueTools tools, IOutput output, Func f ) : bool
Invoke ( string initialSubject, ICommand q, IQueueTools tools, IOutput output, IInput input ) : bool

Method Details

ExecuteSafely() protected static method

protected static ExecuteSafely ( string subject, IQueueTools tools, IOutput output, Func action ) : bool
subject string
tools IQueueTools
output IOutput
action Func
return bool

ExecuteSafelyForEachInput() protected static method

protected static ExecuteSafelyForEachInput ( IInput input, IQueueTools tools, IOutput output, Func f ) : bool
input IInput
tools IQueueTools
output IOutput
f Func
return bool

Invoke() protected static method

protected static Invoke ( string initialSubject, ICommand q, IQueueTools tools, IOutput output, IInput input ) : bool
initialSubject string
q ICommand
tools IQueueTools
output IOutput
input IInput
return bool