C# Класс c24.Runman.CommandLineProgram

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Executed EventHandler
Executing EventHandler
PrepareFunction Func
RunFunction Func

Открытые методы

Метод Описание
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

Описание методов

CommandLineProgram() публичный Метод

public CommandLineProgram ( ) : System
Результат System

CommandLineProgram() публичный Метод

public CommandLineProgram ( Func prepareFunction ) : System
prepareFunction Func
Результат System

CommandLineProgram() публичный Метод

public CommandLineProgram ( Func prepareFunction, Func runFunction ) : System
prepareFunction Func
runFunction Func
Результат System

Execute() публичный Метод

public Execute ( ) : CommandLineResult
Результат CommandLineResult

Execute() публичный Метод

public Execute ( ProcessStartInfo processStartInfo ) : CommandLineResult
processStartInfo System.Diagnostics.ProcessStartInfo
Результат CommandLineResult

Execute() публичный Метод

public Execute ( ProcessStartInfo processStartInfo, CommandLineRunOptions runOptions ) : CommandLineResult
processStartInfo System.Diagnostics.ProcessStartInfo
runOptions CommandLineRunOptions
Результат CommandLineResult

Execute() публичный Метод

public Execute ( string filename ) : CommandLineResult
filename string
Результат CommandLineResult

Execute() публичный Метод

public Execute ( string filename, CommandLineRunOptions runOptions ) : CommandLineResult
filename string
runOptions CommandLineRunOptions
Результат CommandLineResult

Execute() публичный Метод

public Execute ( string filename, string args ) : CommandLineResult
filename string
args string
Результат CommandLineResult

Execute() публичный Метод

public Execute ( string filename, string args, CommandLineRunOptions runOptions ) : CommandLineResult
filename string
args string
runOptions CommandLineRunOptions
Результат CommandLineResult

Prepare() публичный статический Метод

public static Prepare ( ) : ProcessStartInfo
Результат System.Diagnostics.ProcessStartInfo

Run() публичный статический Метод

public static Run ( ProcessStartInfo processStartInfo ) : CommandLineResult
processStartInfo System.Diagnostics.ProcessStartInfo
Результат CommandLineResult

Run() публичный статический Метод

public static Run ( ProcessStartInfo processStartInfo, CommandLineRunOptions options ) : CommandLineResult
processStartInfo System.Diagnostics.ProcessStartInfo
options CommandLineRunOptions
Результат CommandLineResult

Описание свойств

Executed публичное свойство

public EventHandler Executed
Результат EventHandler

Executing публичное свойство

public EventHandler Executing
Результат EventHandler

PrepareFunction публичное свойство

public Func PrepareFunction
Результат Func

RunFunction публичное свойство

public Func RunFunction
Результат Func