C# Класс Dev2.Common.Reflection.GAC

Показать файл Открыть проект

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

Метод Описание
CreateAssemblyCache ( ) : IAssemblyCache

Use this method as a start for the GAC API

CreateAssemblyName ( string name ) : IAssemblyName

Creates the name of the assembly.

CreateGACEnum ( ) : IAssemblyEnum

Creates the GAC enum.

GetCulture ( IAssemblyName name ) : CultureInfo

Gets the culture.

GetDisplayName ( IAssemblyName name, ASM_DISPLAY_FLAGS which ) : String

Gets the display name.

GetDownloadPath ( ) : String

Gets the download path.

GetGACPath ( ) : String

Gets the GAC path.

GetName ( IAssemblyName name ) : String

Gets the name.

GetNextAssembly ( IAssemblyEnum enumerator, IAssemblyName &name ) : int

Get the next assembly name in the current enumerator or fail

GetPublicKey ( IAssemblyName name ) : byte[]

Gets the public key.

GetPublicKeyToken ( IAssemblyName name ) : byte[]

Gets the public key token.

GetVersion ( IAssemblyName name ) : System.Version

Gets the version.

GetZapPath ( ) : String

Gets the zap path.

RebuildGACAssemblyCache ( bool forceRebuild ) : bool

Rebuilds the GAC assembly cache.

TryResolveGACAssembly ( string displayName ) : GACAssemblyName

Tries the resolve GAC assembly.

TryResolveGACAssembly ( string name, string culture, string version, string publicKeyToken ) : string

Tries the resolve GAC assembly.

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

Метод Описание
CreateAssemblyCache ( IAssemblyCache &ppAsmCache, uint dwReserved ) : void
CreateAssemblyEnum ( IAssemblyEnum &pEnum, IntPtr pUnkReserved, IAssemblyName pName, ASM_CACHE_FLAGS dwFlags, IntPtr pvReserved ) : void
CreateAssemblyNameObject ( IAssemblyName &ppAssemblyNameObj, string szAssemblyName, uint dwFlags, IntPtr pvReserved ) : void
GetCachePath ( ASM_CACHE_FLAGS dwCacheFlags, [ pwzCachePath, uint &pcchPath ) : void
GetGACAssemblies ( string name ) : Dev2.Common.Reflection.GACAssemblyName[]

Gets the GAC assemblies.

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

CreateAssemblyCache() публичный статический Метод

Use this method as a start for the GAC API
public static CreateAssemblyCache ( ) : IAssemblyCache
Результат IAssemblyCache

CreateAssemblyName() публичный статический Метод

Creates the name of the assembly.
public static CreateAssemblyName ( string name ) : IAssemblyName
name string The name.
Результат IAssemblyName

CreateGACEnum() публичный статический Метод

Creates the GAC enum.
public static CreateGACEnum ( ) : IAssemblyEnum
Результат IAssemblyEnum

GetCulture() публичный статический Метод

Gets the culture.
public static GetCulture ( IAssemblyName name ) : CultureInfo
name IAssemblyName The name.
Результат System.Globalization.CultureInfo

GetDisplayName() публичный статический Метод

Gets the display name.
public static GetDisplayName ( IAssemblyName name, ASM_DISPLAY_FLAGS which ) : String
name IAssemblyName The name.
which ASM_DISPLAY_FLAGS The which.
Результат String

GetDownloadPath() публичный статический Метод

Gets the download path.
public static GetDownloadPath ( ) : String
Результат String

GetGACPath() публичный статический Метод

Gets the GAC path.
public static GetGACPath ( ) : String
Результат String

GetName() публичный статический Метод

Gets the name.
public static GetName ( IAssemblyName name ) : String
name IAssemblyName The name.
Результат String

GetNextAssembly() публичный статический Метод

Get the next assembly name in the current enumerator or fail
public static GetNextAssembly ( IAssemblyEnum enumerator, IAssemblyName &name ) : int
enumerator IAssemblyEnum
name IAssemblyName
Результат int

GetPublicKey() публичный статический Метод

Gets the public key.
public static GetPublicKey ( IAssemblyName name ) : byte[]
name IAssemblyName The name.
Результат byte[]

GetPublicKeyToken() публичный статический Метод

Gets the public key token.
public static GetPublicKeyToken ( IAssemblyName name ) : byte[]
name IAssemblyName The name.
Результат byte[]

GetVersion() публичный статический Метод

Gets the version.
public static GetVersion ( IAssemblyName name ) : System.Version
name IAssemblyName The name.
Результат System.Version

GetZapPath() публичный статический Метод

Gets the zap path.
public static GetZapPath ( ) : String
Результат String

RebuildGACAssemblyCache() публичный статический Метод

Rebuilds the GAC assembly cache.
public static RebuildGACAssemblyCache ( bool forceRebuild ) : bool
forceRebuild bool if set to true [force rebuild].
Результат bool

TryResolveGACAssembly() публичный статический Метод

Tries the resolve GAC assembly.
public static TryResolveGACAssembly ( string displayName ) : GACAssemblyName
displayName string The display name.
Результат GACAssemblyName

TryResolveGACAssembly() публичный статический Метод

Tries the resolve GAC assembly.
public static TryResolveGACAssembly ( string name, string culture, string version, string publicKeyToken ) : string
name string The name.
culture string The culture.
version string The version.
publicKeyToken string The public key token.
Результат string