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
파일 보기 프로젝트 열기: SIXNetworks/withSIX.Desktop 1 사용 예제들

공개 메소드들

메소드 설명
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