C# Class c24.Runman.CommandLineProgram

Mostra file Open project: CHECK24/c24.Runman Class Usage Examples

Public Properties

Property Type Description
Executed EventHandler
Executing EventHandler
PrepareFunction Func
RunFunction Func

Public Methods

Method Description
CommandLineProgram ( ) : System
CommandLineProgram ( Func prepareFunction ) : System
CommandLineProgram ( Func prepareFunction, Func runFunction ) : System
Execute ( ) : CommandLineResult
Execute ( ProcessStartInfo processStartInfo ) : CommandLineResult
Execute ( ProcessStartInfo processStartInfo, CommandLineRunOptions runOptions ) : CommandLineResult
Execute ( string filename ) : CommandLineResult
Execute ( string filename, CommandLineRunOptions runOptions ) : CommandLineResult
Execute ( string filename, string args ) : CommandLineResult
Execute ( string filename, string args, CommandLineRunOptions runOptions ) : CommandLineResult
Prepare ( ) : ProcessStartInfo
Run ( ProcessStartInfo processStartInfo ) : CommandLineResult
Run ( ProcessStartInfo processStartInfo, CommandLineRunOptions options ) : CommandLineResult

Method Details

CommandLineProgram() public method

public CommandLineProgram ( ) : System
return System

CommandLineProgram() public method

public CommandLineProgram ( Func prepareFunction ) : System
prepareFunction Func
return System

CommandLineProgram() public method

public CommandLineProgram ( Func prepareFunction, Func runFunction ) : System
prepareFunction Func
runFunction Func
return System

Execute() public method

public Execute ( ) : CommandLineResult
return CommandLineResult

Execute() public method

public Execute ( ProcessStartInfo processStartInfo ) : CommandLineResult
processStartInfo System.Diagnostics.ProcessStartInfo
return CommandLineResult

Execute() public method

public Execute ( ProcessStartInfo processStartInfo, CommandLineRunOptions runOptions ) : CommandLineResult
processStartInfo System.Diagnostics.ProcessStartInfo
runOptions CommandLineRunOptions
return CommandLineResult

Execute() public method

public Execute ( string filename ) : CommandLineResult
filename string
return CommandLineResult

Execute() public method

public Execute ( string filename, CommandLineRunOptions runOptions ) : CommandLineResult
filename string
runOptions CommandLineRunOptions
return CommandLineResult

Execute() public method

public Execute ( string filename, string args ) : CommandLineResult
filename string
args string
return CommandLineResult

Execute() public method

public Execute ( string filename, string args, CommandLineRunOptions runOptions ) : CommandLineResult
filename string
args string
runOptions CommandLineRunOptions
return CommandLineResult

Prepare() public static method

public static Prepare ( ) : ProcessStartInfo
return System.Diagnostics.ProcessStartInfo

Run() public static method

public static Run ( ProcessStartInfo processStartInfo ) : CommandLineResult
processStartInfo System.Diagnostics.ProcessStartInfo
return CommandLineResult

Run() public static method

public static Run ( ProcessStartInfo processStartInfo, CommandLineRunOptions options ) : CommandLineResult
processStartInfo System.Diagnostics.ProcessStartInfo
options CommandLineRunOptions
return CommandLineResult

Property Details

Executed public_oe property

public EventHandler Executed
return EventHandler

Executing public_oe property

public EventHandler Executing
return EventHandler

PrepareFunction public_oe property

public Func PrepareFunction
return Func

RunFunction public_oe property

public Func RunFunction
return Func