C# Класс ConEmu.WinForms.ConEmuStartInfo

Describes the parameters for running the console process in the console emulator, including the command line to run.
Показать файл Открыть проект Примеры использования класса

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