C# 클래스 ZeroInstall.Commands.Utils.RunHook

Hooks into the creation of new processes to inject API hooks.
상속: IDisposable
파일 보기 프로젝트 열기: 0install/0install-win

공개 메소드들

메소드 설명
Dispose ( ) : void

Unhooks from the creation of new processes.

RunHook ( Selections selections, IExecutor executor, IFeedManager feedManager, ITaskHandler handler ) : System

Hooks into the creation of new processes on the current thread to inject API hooks.

비공개 메소드들

메소드 설명
CreateProcessACallback ( string lpApplicationName, string lpCommandLine, IntPtr lpProcessAttributes, IntPtr lpThreadAttributes, bool bInheritHandles, uint dwCreationFlags, IntPtr lpEnvironment, string lpCurrentDirectory, IntPtr lpStartupInfo, EntryPoint.ProcessInformation &lpProcessInformation ) : bool
CreateProcessWCallback ( string lpApplicationName, string lpCommandLine, IntPtr lpProcessAttributes, IntPtr lpThreadAttributes, bool bInheritHandles, uint dwCreationFlags, IntPtr lpEnvironment, string lpCurrentDirectory, IntPtr lpStartupInfo, EntryPoint.ProcessInformation &lpProcessInformation ) : bool
GetIconPath ( [ command = null ) : string
GetInstallCommandFilter ( string path, string arguments, string zeroInstallCommand ) : RegistryFilterRule

Builds a RegistryFilterRule for a Store.Model.Capabilities.InstallCommands entry.

GetRegistryFilter ( ) : RegistryFilter

Gets a set of filter rules for registry access.

GetRelaunchControl ( ) : RelaunchControl

Collects information about how Commands within an Implementation can be relaunched.

메소드 상세

Dispose() 공개 메소드

Unhooks from the creation of new processes.
public Dispose ( ) : void
리턴 void

RunHook() 공개 메소드

Hooks into the creation of new processes on the current thread to inject API hooks.
The main implementation is not cached (possibly because it is installed natively).
public RunHook ( Selections selections, IExecutor executor, IFeedManager feedManager, ITaskHandler handler ) : System
selections Selections The implementations chosen for launch.
executor IExecutor The executor used to launch the new process.
feedManager IFeedManager Provides access to remote and local s. Handles downloading, signature verification and caching.
handler ITaskHandler A callback object used when the the user needs to be asked questions or informed about download and IO tasks.
리턴 System