C# Class NetIde.Update.PackageManager

Afficher le fichier Open project: netide/netide

Méthodes publiques

Méthode Description
Execute ( ) : void
GetEntryAssemblyLocation ( string installationPath ) : string
GetInstalledVersion ( ContextName context, string packageId ) : string
IsCorePackage ( string packageId ) : bool
IsCorePackage ( string packageId, ContextName context ) : bool
IsValidPackageId ( ContextName context, string packageId ) : bool

Méthodes protégées

Méthode Description
CreateAppDomain ( string packagePath, string entryPoint, INiPackage &package ) : IDisposable
ExtractPackage ( string packageFileName, string target ) : void
GetFileSystemRoot ( ) : string
OpenContextRegistry ( bool writable ) : RegistryKey
PackageManager ( ContextName context ) : System
TryParseEntryPoint ( string entryPoint, string &entryAssembly, string &entryTypeName ) : bool

Method Details

CreateAppDomain() protected méthode

protected CreateAppDomain ( string packagePath, string entryPoint, INiPackage &package ) : IDisposable
packagePath string
entryPoint string
package INiPackage
Résultat IDisposable

Execute() public abstract méthode

public abstract Execute ( ) : void
Résultat void

ExtractPackage() protected méthode

protected ExtractPackage ( string packageFileName, string target ) : void
packageFileName string
target string
Résultat void

GetEntryAssemblyLocation() public static méthode

public static GetEntryAssemblyLocation ( string installationPath ) : string
installationPath string
Résultat string

GetFileSystemRoot() protected méthode

protected GetFileSystemRoot ( ) : string
Résultat string

GetInstalledVersion() public static méthode

public static GetInstalledVersion ( ContextName context, string packageId ) : string
context ContextName
packageId string
Résultat string

IsCorePackage() public static méthode

public static IsCorePackage ( string packageId ) : bool
packageId string
Résultat bool

IsCorePackage() public static méthode

public static IsCorePackage ( string packageId, ContextName context ) : bool
packageId string
context ContextName
Résultat bool

IsValidPackageId() public static méthode

public static IsValidPackageId ( ContextName context, string packageId ) : bool
context ContextName
packageId string
Résultat bool

OpenContextRegistry() protected méthode

protected OpenContextRegistry ( bool writable ) : RegistryKey
writable bool
Résultat Microsoft.Win32.RegistryKey

PackageManager() protected méthode

protected PackageManager ( ContextName context ) : System
context ContextName
Résultat System

TryParseEntryPoint() protected méthode

protected TryParseEntryPoint ( string entryPoint, string &entryAssembly, string &entryTypeName ) : bool
entryPoint string
entryAssembly string
entryTypeName string
Résultat bool