C# Class c24.Runman.CommandLineProgram

Afficher le fichier Open project: CHECK24/c24.Runman Class Usage Examples

Méthodes publiques

Свойство Type Description
Executed EventHandler
Executing EventHandler
PrepareFunction Func
RunFunction Func

Méthodes publiques

Méthode 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 méthode

public CommandLineProgram ( ) : System
Résultat System

CommandLineProgram() public méthode

public CommandLineProgram ( Func prepareFunction ) : System
prepareFunction Func
Résultat System

CommandLineProgram() public méthode

public CommandLineProgram ( Func prepareFunction, Func runFunction ) : System
prepareFunction Func
runFunction Func
Résultat System

Execute() public méthode

public Execute ( ) : CommandLineResult
Résultat CommandLineResult

Execute() public méthode

public Execute ( ProcessStartInfo processStartInfo ) : CommandLineResult
processStartInfo System.Diagnostics.ProcessStartInfo
Résultat CommandLineResult

Execute() public méthode

public Execute ( ProcessStartInfo processStartInfo, CommandLineRunOptions runOptions ) : CommandLineResult
processStartInfo System.Diagnostics.ProcessStartInfo
runOptions CommandLineRunOptions
Résultat CommandLineResult

Execute() public méthode

public Execute ( string filename ) : CommandLineResult
filename string
Résultat CommandLineResult

Execute() public méthode

public Execute ( string filename, CommandLineRunOptions runOptions ) : CommandLineResult
filename string
runOptions CommandLineRunOptions
Résultat CommandLineResult

Execute() public méthode

public Execute ( string filename, string args ) : CommandLineResult
filename string
args string
Résultat CommandLineResult

Execute() public méthode

public Execute ( string filename, string args, CommandLineRunOptions runOptions ) : CommandLineResult
filename string
args string
runOptions CommandLineRunOptions
Résultat CommandLineResult

Prepare() public static méthode

public static Prepare ( ) : ProcessStartInfo
Résultat System.Diagnostics.ProcessStartInfo

Run() public static méthode

public static Run ( ProcessStartInfo processStartInfo ) : CommandLineResult
processStartInfo System.Diagnostics.ProcessStartInfo
Résultat CommandLineResult

Run() public static méthode

public static Run ( ProcessStartInfo processStartInfo, CommandLineRunOptions options ) : CommandLineResult
processStartInfo System.Diagnostics.ProcessStartInfo
options CommandLineRunOptions
Résultat CommandLineResult

Property Details

Executed public_oe property

public EventHandler Executed
Résultat EventHandler

Executing public_oe property

public EventHandler Executing
Résultat EventHandler

PrepareFunction public_oe property

public Func PrepareFunction
Résultat Func

RunFunction public_oe property

public Func RunFunction
Résultat Func