C# 클래스 ZeroInstall.Services.Injector.Executor

파일 보기 프로젝트 열기: 0install/0install-win 1 사용 예제들

공개 메소드들

메소드 설명
Executor ( [ store ) : System

Creates a new executor.

GetImplementationPath ( ImplementationSelection implementation ) : string
GetStartInfo ( Selections selections ) : ProcessStartInfo
Start ( Selections selections ) : Process

비공개 메소드들

메소드 설명
AppendUserArgs ( [ arguments, [ commandLine ) : void

Appends the user specified arguments to the command-line.

ApplyBindings ( [ bindingContainer, [ implementation, [ startInfo ) : void

Applies all Bindings listed in a specific IBindingContainer.

ApplyCommandLine ( [ commandLine, [ startInfo ) : void

Split and apply main command-line

ApplyDependencyBindings ( [ dependencyContainer, [ startInfo ) : void

Applies Bindings to make a set of Dependencys available.

ApplyEnvironmentBinding ( [ binding, [ implementation, [ startInfo ) : void

Applies an EnvironmentBinding by modifying environment variables.

ApplyExecutableInPath ( [ binding, [ implementation, [ startInfo ) : void

Applies an ExecutableInPath binding by creating a run-environment executable.

ApplyExecutableInVar ( [ binding, [ implementation, [ startInfo ) : void

Applies an ExecutableInVar binding by creating a run-environment executable.

ApplyWorkingDir ( [ binding, [ implementation, [ startInfo ) : void

Applies a WorkingDir change to the ProcessStartInfo.

This method can only be called successfully once per BuildStartInfoWithBindings().

BuildStartInfoWithBindings ( ) : ProcessStartInfo
DeployRunEnvExecutable ( [ name ) : string
ExpandCommandLine ( [ commandLine, [ environmentVariables ) : IList
GetCommandLine ( [ implementation, [ commandName, [ startInfo ) : List
GetMainImplementation ( ) : ImplementationSelection
GetRunEnvTemplate ( ) : string
PrependWrapper ( [ commandLine ) : void

Prepends the user-specified Wrapper, if any, to the command-line.

ProcessRunEnvBindings ( [ startInfo ) : void

Split and apply command-lines for executable bindings. This is delayed until the end because environment variables that might be modified are expanded.

SplitCommandLine ( [ commandLine ) : CommandLineSplit

Splits a command-line into a file name and an arguments part.

메소드 상세

Executor() 공개 메소드

Creates a new executor.
public Executor ( [ store ) : System
store [ Used to locate the selected s.
리턴 System

GetImplementationPath() 공개 메소드

public GetImplementationPath ( ImplementationSelection implementation ) : string
implementation ImplementationSelection
리턴 string

GetStartInfo() 공개 메소드

public GetStartInfo ( Selections selections ) : ProcessStartInfo
selections Selections
리턴 System.Diagnostics.ProcessStartInfo

Start() 공개 메소드

public Start ( Selections selections ) : Process
selections Selections
리턴 System.Diagnostics.Process