C# Class withSIX.Core.Extensions.ProcessExtensions

Exibir arquivo Open project: SIXNetworks/withSIX.Desktop

Public Methods

Method Description
EnableRedirect ( this startInfo ) : ProcessStartInfo
Format ( this startInfo ) : string
SafeHasExited ( this process ) : bool
SetWorkingDirectoryOrDefault ( this arg, IAbsoluteDirectoryPath workingDirectory ) : ProcessStartInfo
SetWorkingDirectoryOrDefault ( this arg, string workingDirectory ) : ProcessStartInfo

Method Details

EnableRedirect() public static method

public static EnableRedirect ( this startInfo ) : ProcessStartInfo
startInfo this
return System.Diagnostics.ProcessStartInfo

Format() public static method

public static Format ( this startInfo ) : string
startInfo this
return string

SafeHasExited() public static method

public static SafeHasExited ( this process ) : bool
process this
return bool

SetWorkingDirectoryOrDefault() public static method

public static SetWorkingDirectoryOrDefault ( this arg, IAbsoluteDirectoryPath workingDirectory ) : ProcessStartInfo
arg this
workingDirectory IAbsoluteDirectoryPath
return System.Diagnostics.ProcessStartInfo

SetWorkingDirectoryOrDefault() public static method

public static SetWorkingDirectoryOrDefault ( this arg, string workingDirectory ) : ProcessStartInfo
arg this
workingDirectory string
return System.Diagnostics.ProcessStartInfo