C# 클래스 Crabwise.CommandWrap.CommandStartInfo

Specifies a set of values that are used when you execute a command.
Properties of this class are passed to an instance of System.Diagnostics.ProcessStartInfo when spawning the process for this command.
파일 보기 프로젝트 열기: CrabwiseStudios/CommandWrap 1 사용 예제들

공개 메소드들

메소드 설명
CommandStartInfo ( ) : System

Initializes a new instance of the CommandStartInfo class with empty properties.

CommandStartInfo ( ProcessStartInfo processStartInfo ) : System

Initializes a new instance of the CommandStartInfo class using a ProcessStartInfo object to initialize its properties.

CommandStartInfo ( string path ) : System

Initializes a new instance of the CommandStartInfo class using a path.

비공개 메소드들

메소드 설명
GetProcessStartInfo ( string fileName ) : ProcessStartInfo

Returns a System.Diagnostics.ProcessStartInfo object which has matching properties of this CommandStartInfo object.

Specifically, the returned System.Diagnostics.ProcessStartInfo object that is returned has the same properties except for CommandStartInfo.Path and CommandStartInfo.WorkingDirectory.

메소드 상세

CommandStartInfo() 공개 메소드

Initializes a new instance of the CommandStartInfo class with empty properties.
public CommandStartInfo ( ) : System
리턴 System

CommandStartInfo() 공개 메소드

Initializes a new instance of the CommandStartInfo class using a ProcessStartInfo object to initialize its properties.
public CommandStartInfo ( ProcessStartInfo processStartInfo ) : System
processStartInfo System.Diagnostics.ProcessStartInfo The object to use.
리턴 System

CommandStartInfo() 공개 메소드

Initializes a new instance of the CommandStartInfo class using a path.
public CommandStartInfo ( string path ) : System
path string The path to use for executing a command.
리턴 System