C# 클래스 ConEmu.WinForms.ConEmuStartInfo

Describes the parameters for running the console process in the console emulator, including the command line to run.
파일 보기 프로젝트 열기: Maximus5/conemu-inside 1 사용 예제들

Private Properties

프로퍼티 타입 설명
AssertNotUsedUp void
EnumEnv IEnumerable
GetEnv string
InitConEmuLocation string
MarkAsUsedUp void
TryDeriveConEmuConsoleExtenderExecutablePath string
TryDeriveConEmuConsoleServerExecutablePath string

공개 메소드들

메소드 설명
ConEmuStartInfo ( ) : System

Creates a new object with all the parameters in their default values.

The console emulator will run the default CMD shell with such an empty object.

ConEmuStartInfo ( [ sConsoleProcessCommandLine ) : System

Creates a new object and defines the command line for the console process to be run in the console emulator, ConsoleProcessCommandLine.

SetEnv ( [ name, [ value ) : void

Sets the startup environment variable for the console process, before it is started.

This cannot be used to change the environment variables of a running console process.

비공개 메소드들

메소드 설명
AssertNotUsedUp ( ) : void
EnumEnv ( ) : IEnumerable
GetEnv ( [ name ) : string
InitConEmuLocation ( ) : string
MarkAsUsedUp ( ) : void

Marks this instance as used-up and prevens further modifications.

TryDeriveConEmuConsoleExtenderExecutablePath ( [ sConEmuPath ) : string
TryDeriveConEmuConsoleServerExecutablePath ( [ sConEmuPath ) : string

메소드 상세

ConEmuStartInfo() 공개 메소드

Creates a new object with all the parameters in their default values.

The console emulator will run the default CMD shell with such an empty object.

public ConEmuStartInfo ( ) : System
리턴 System

ConEmuStartInfo() 공개 메소드

Creates a new object and defines the command line for the console process to be run in the console emulator, ConsoleProcessCommandLine.
public ConEmuStartInfo ( [ sConsoleProcessCommandLine ) : System
sConsoleProcessCommandLine [ Value for .
리턴 System

SetEnv() 공개 메소드

Sets the startup environment variable for the console process, before it is started.

This cannot be used to change the environment variables of a running console process.

public SetEnv ( [ name, [ value ) : void
name [ Environment variable name, case-insensitive.
value [ Environment variable value, or NULL to remove this environment variable.
리턴 void