C# Класс Talifun.Commander.Executor.CommandLine.CommandLineExecutor

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

Защищенные свойства (Protected)

Свойство Тип Описание
DataReceivedEventHandlerError DataReceivedEventHandler
DataReceivedEventHandlerOutput DataReceivedEventHandler
Output StringBuilder
UnableToExecuteCommand bool

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

Метод Описание
Execute ( CancellationToken cancellationToken, string workingDirectory, string commandPath, string commandArguments, string &output ) : bool

Защищенные методы

Метод Описание
OnErrorDataReceived ( object sender, DataReceivedEventArgs e ) : void
OnOutputDataReceived ( object sender, DataReceivedEventArgs e ) : void

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

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

public Execute ( CancellationToken cancellationToken, string workingDirectory, string commandPath, string commandArguments, string &output ) : bool
cancellationToken System.Threading.CancellationToken
workingDirectory string
commandPath string
commandArguments string
output string
Результат bool

OnErrorDataReceived() защищенный Метод

protected OnErrorDataReceived ( object sender, DataReceivedEventArgs e ) : void
sender object
e System.Diagnostics.DataReceivedEventArgs
Результат void

OnOutputDataReceived() защищенный Метод

protected OnOutputDataReceived ( object sender, DataReceivedEventArgs e ) : void
sender object
e System.Diagnostics.DataReceivedEventArgs
Результат void

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

DataReceivedEventHandlerError защищенное свойство

protected DataReceivedEventHandler DataReceivedEventHandlerError
Результат DataReceivedEventHandler

DataReceivedEventHandlerOutput защищенное свойство

protected DataReceivedEventHandler DataReceivedEventHandlerOutput
Результат DataReceivedEventHandler

Output защищенное свойство

protected StringBuilder Output
Результат StringBuilder

UnableToExecuteCommand защищенное свойство

protected bool UnableToExecuteCommand
Результат bool