C# Класс withSIX.Core.Infra.Services.ReactiveProcess

Uses character by character parsing for StandardOutput and StandardError, so \r can be processed. Uses observables instead of eventhandlers. Do not call BeginReadStandardOutput and BeginReadStandardError etc
Наследование: System.Diagnostics.Process
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Create ( string fileName, string arguments ) : ReactiveProcess
ReactiveProcess ( ) : System
StartAsync ( ) : System.Threading.Tasks.Task

Validates StartInfo. Completes once the process has exited

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

Метод Описание
Dispose ( bool disposing ) : void

Приватные методы

Метод Описание
CreateAfterLaunchTasks ( ) : IEnumerable
ReadStreamToEnd ( StreamReader stream, IObserver observable ) : System.Threading.Tasks.Task

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

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

public static Create ( string fileName, string arguments ) : ReactiveProcess
fileName string
arguments string
Результат ReactiveProcess

Dispose() защищенный метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

ReactiveProcess() публичный метод

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

StartAsync() публичный метод

Validates StartInfo. Completes once the process has exited
public StartAsync ( ) : System.Threading.Tasks.Task
Результат System.Threading.Tasks.Task