C# Class NetIde.Update.PackageRegistry

Mostrar archivo Open project: netide/netide Class Usage Examples

Public Methods

Method Description
EnablePackage ( ContextName context, string packageId, bool enabled ) : void
GetInstalledPackages ( ContextName context ) : PackageQueryResult
OpenRegistryRoot ( bool writable, ContextName context ) : RegistryKey
QueueUninstall ( ContextName context, string packageId ) : void
QueueUpdate ( ContextName context, PackageMetadata metadata ) : void

Private Methods

Method Description
GetPackageState ( ContextName context, string packageId, RegistryKey packageKey ) : PackageState
GetPackageState ( RegistryKey contextKey, ContextName context, string packageId ) : PackageState
LoadPackage ( string packagePath, RegistryKey packageKey, PackageState state ) : PackageMetadata

Method Details

EnablePackage() public static method

public static EnablePackage ( ContextName context, string packageId, bool enabled ) : void
context ContextName
packageId string
enabled bool
return void

GetInstalledPackages() public static method

public static GetInstalledPackages ( ContextName context ) : PackageQueryResult
context ContextName
return PackageQueryResult

OpenRegistryRoot() public static method

public static OpenRegistryRoot ( bool writable, ContextName context ) : RegistryKey
writable bool
context ContextName
return Microsoft.Win32.RegistryKey

QueueUninstall() public static method

public static QueueUninstall ( ContextName context, string packageId ) : void
context ContextName
packageId string
return void

QueueUpdate() public static method

public static QueueUpdate ( ContextName context, PackageMetadata metadata ) : void
context ContextName
metadata NetIde.Xml.PackageMetadata.PackageMetadata
return void