C# Class ZeroInstall.Publish.Capture.SnapshotDiff

ファイルを表示 Open project: 0install/0install-win Class Usage Examples

Public Methods

Method Description
CollectAutoPlays ( [ commandMapper, [ capabilities ) : void

Collects data about AutoPlay handlers.

CollectContextMenus ( [ commandMapper, [ capabilities ) : void

Collects data about context menu entries.

CollectDefaultPrograms ( [ commandMapper, [ capabilities, string &appName ) : void

Collects data about default programs.

CollectFileTypes ( [ commandMapper, [ capabilities ) : void

Collects data about file types and also URL protocol handlers.

CollectProtocolAssocs ( [ commandMapper, [ capabilities ) : void

Collects data about well-known URL protocol handlers.

GetAppRegistration ( [ commandMapper, [ capabilities, string &appName, string &appDescription ) : AppRegistration

Retrieves data about registered applications.

SnapshotDiff ( [ before, [ after ) : System

Determines which elements have been added to the system between two snapshots.

Assumes that all internal arrays are sorted alphabetically.

Private Methods

Method Description
AddExtensionToFileType ( [ extension, [ progID, [ capabilities ) : void

Adds an extension to an existing FileType.

CollectFileAssocsEx ( [ capsKey, [ capabilities ) : void

Collects data about file assocations indicated by registered application capabilities.

CollectProtocolAssocsEx ( [ capsKey, [ commandMapper, [ capabilities ) : void

Collects data about URL protocol handlers indicated by registered application capabilities.

GetAutoPlay ( [ handler, [ hive, [ autoPlayAssocs, [ commandMapper ) : Capability
GetFileType ( [ progID, [ commandMapper ) : VerbCapability
GetInstallCommands ( [ clientKey, [ installationDir ) : InstallCommands

Retrieves commands the application registered for use by Windows' "Set Program Access and Defaults".

GetInstallationDir ( ) : string
GetVerb ( [ typeKey, [ commandMapper, [ verbName ) : Verb
GetVerbs ( [ typeKey, [ commandMapper ) : IEnumerable
IsolateCommand ( string commandLine, string baseDir, string &additionalArguments ) : string

Isolates the path of an executable specified in a command-line relative to a base directory.

Method Details

CollectAutoPlays() public method

Collects data about AutoPlay handlers.
There was an error accessing the registry. Read access to the registry was not permitted.
public CollectAutoPlays ( [ commandMapper, [ capabilities ) : void
commandMapper [ Provides best-match command-line to mapping.
capabilities [ The capability list to add the collected data to.
return void

CollectContextMenus() public method

Collects data about context menu entries.
There was an error accessing the registry. Read access to the registry was not permitted.
public CollectContextMenus ( [ commandMapper, [ capabilities ) : void
commandMapper [ Provides best-match command-line to mapping.
capabilities [ The capability list to add the collected data to.
return void

CollectDefaultPrograms() public method

Collects data about default programs.
There was an error accessing the registry. Read access to the registry was not permitted.
public CollectDefaultPrograms ( [ commandMapper, [ capabilities, string &appName ) : void
commandMapper [ Provides best-match command-line to mapping.
capabilities [ The capability list to add the collected data to.
appName string Is set to the name of the application as displayed to the user; unchanged if the name was not found.
return void

CollectFileTypes() public method

Collects data about file types and also URL protocol handlers.
There was an error accessing the registry. Read access to the registry was not permitted.
public CollectFileTypes ( [ commandMapper, [ capabilities ) : void
commandMapper [ Provides best-match command-line to mapping.
capabilities [ The capability list to add the collected data to.
return void

CollectProtocolAssocs() public method

Collects data about well-known URL protocol handlers.
There was an error accessing the registry. Read access to the registry was not permitted.
public CollectProtocolAssocs ( [ commandMapper, [ capabilities ) : void
commandMapper [ Provides best-match command-line to mapping.
capabilities [ The capability list to add the collected data to.
return void

GetAppRegistration() public method

Retrieves data about registered applications.
There was an error accessing the registry. Read access to the registry was not permitted.
public GetAppRegistration ( [ commandMapper, [ capabilities, string &appName, string &appDescription ) : AppRegistration
commandMapper [ Provides best-match command-line to mapping.
capabilities [ The capability list to add the collected data to.
appName string Is set to the name of the application as displayed to the user; unchanged if the name was not found.
appDescription string Is set to a user-friendly description of the application; unchanged if the name was not found.
return AppRegistration

SnapshotDiff() public method

Determines which elements have been added to the system between two snapshots.
Assumes that all internal arrays are sorted alphabetically.
public SnapshotDiff ( [ before, [ after ) : System
before [ The first snapshot taken.
after [ The second snapshot taken.
return System