C# Класс ZeroInstall.Publish.Capture.SnapshotDiff

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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.

Описание методов

CollectAutoPlays() публичный Метод

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.
Результат void

CollectContextMenus() публичный Метод

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.
Результат void

CollectDefaultPrograms() публичный Метод

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.
Результат void

CollectFileTypes() публичный Метод

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.
Результат void

CollectProtocolAssocs() публичный Метод

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.
Результат void

GetAppRegistration() публичный Метод

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.
Результат AppRegistration

SnapshotDiff() публичный Метод

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.
Результат System