C# Class NetIde.Update.PackageManager

Show file Open project: netide/netide

Public Methods

Method 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

Protected Methods

Method 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 method

protected CreateAppDomain ( string packagePath, string entryPoint, INiPackage &package ) : IDisposable
packagePath string
entryPoint string
package INiPackage
return IDisposable

Execute() public abstract method

public abstract Execute ( ) : void
return void

ExtractPackage() protected method

protected ExtractPackage ( string packageFileName, string target ) : void
packageFileName string
target string
return void

GetEntryAssemblyLocation() public static method

public static GetEntryAssemblyLocation ( string installationPath ) : string
installationPath string
return string

GetFileSystemRoot() protected method

protected GetFileSystemRoot ( ) : string
return string

GetInstalledVersion() public static method

public static GetInstalledVersion ( ContextName context, string packageId ) : string
context ContextName
packageId string
return string

IsCorePackage() public static method

public static IsCorePackage ( string packageId ) : bool
packageId string
return bool

IsCorePackage() public static method

public static IsCorePackage ( string packageId, ContextName context ) : bool
packageId string
context ContextName
return bool

IsValidPackageId() public static method

public static IsValidPackageId ( ContextName context, string packageId ) : bool
context ContextName
packageId string
return bool

OpenContextRegistry() protected method

protected OpenContextRegistry ( bool writable ) : RegistryKey
writable bool
return Microsoft.Win32.RegistryKey

PackageManager() protected method

protected PackageManager ( ContextName context ) : System
context ContextName
return System

TryParseEntryPoint() protected method

protected TryParseEntryPoint ( string entryPoint, string &entryAssembly, string &entryTypeName ) : bool
entryPoint string
entryAssembly string
entryTypeName string
return bool