C# Class Dev2.Reflection.GAC

Afficher le fichier Open project: Warewolf-ESB/Warewolf Class Usage Examples

Méthodes publiques

Méthode Description
CreateAssemblyCache ( ) : IAssemblyCache

Use this method as a start for the GAC API

CreateAssemblyName ( string name ) : IAssemblyName
CreateGACEnum ( ) : IAssemblyEnum
GetCulture ( IAssemblyName name ) : CultureInfo
GetDisplayName ( IAssemblyName name, ASM_DISPLAY_FLAGS which ) : String
GetDownloadPath ( ) : String
GetGACPath ( ) : String
GetName ( IAssemblyName name ) : String
GetNextAssembly ( IAssemblyEnum enumerator, IAssemblyName &name ) : int

Get the next assembly name in the current enumerator or fail

GetPublicKey ( IAssemblyName name ) : byte[]
GetPublicKeyToken ( IAssemblyName name ) : byte[]
GetVersion ( IAssemblyName name ) : System.Version
GetZapPath ( ) : String
RebuildGACAssemblyCache ( bool forceRebuild ) : bool
TryResolveGACAssembly ( string displayName ) : GACAssemblyName
TryResolveGACAssembly ( string name, string culture, string version, string publicKeyToken ) : string

Private Methods

Méthode Description
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
CreateInstallReferenceEnum ( IInstallReferenceEnum &ppRefEnum, IAssemblyName pName, uint dwFlags, IntPtr pvReserved ) : void
GetCachePath ( ASM_CACHE_FLAGS dwCacheFlags, [ pwzCachePath, uint &pcchPath ) : void
GetGACAssemblies ( string name ) : Dev2.Reflection.GACAssemblyName[]

Method Details

CreateAssemblyCache() public static méthode

Use this method as a start for the GAC API
public static CreateAssemblyCache ( ) : IAssemblyCache
Résultat IAssemblyCache

CreateAssemblyName() public static méthode

public static CreateAssemblyName ( string name ) : IAssemblyName
name string
Résultat IAssemblyName

CreateGACEnum() public static méthode

public static CreateGACEnum ( ) : IAssemblyEnum
Résultat IAssemblyEnum

GetCulture() public static méthode

public static GetCulture ( IAssemblyName name ) : CultureInfo
name IAssemblyName
Résultat System.Globalization.CultureInfo

GetDisplayName() public static méthode

public static GetDisplayName ( IAssemblyName name, ASM_DISPLAY_FLAGS which ) : String
name IAssemblyName
which ASM_DISPLAY_FLAGS
Résultat String

GetDownloadPath() public static méthode

public static GetDownloadPath ( ) : String
Résultat String

GetGACPath() public static méthode

public static GetGACPath ( ) : String
Résultat String

GetName() public static méthode

public static GetName ( IAssemblyName name ) : String
name IAssemblyName
Résultat String

GetNextAssembly() public static méthode

Get the next assembly name in the current enumerator or fail
public static GetNextAssembly ( IAssemblyEnum enumerator, IAssemblyName &name ) : int
enumerator IAssemblyEnum
name IAssemblyName
Résultat int

GetPublicKey() public static méthode

public static GetPublicKey ( IAssemblyName name ) : byte[]
name IAssemblyName
Résultat byte[]

GetPublicKeyToken() public static méthode

public static GetPublicKeyToken ( IAssemblyName name ) : byte[]
name IAssemblyName
Résultat byte[]

GetVersion() public static méthode

public static GetVersion ( IAssemblyName name ) : System.Version
name IAssemblyName
Résultat System.Version

GetZapPath() public static méthode

public static GetZapPath ( ) : String
Résultat String

RebuildGACAssemblyCache() public static méthode

public static RebuildGACAssemblyCache ( bool forceRebuild ) : bool
forceRebuild bool
Résultat bool

TryResolveGACAssembly() public static méthode

public static TryResolveGACAssembly ( string displayName ) : GACAssemblyName
displayName string
Résultat GACAssemblyName

TryResolveGACAssembly() public static méthode

public static TryResolveGACAssembly ( string name, string culture, string version, string publicKeyToken ) : string
name string
culture string
version string
publicKeyToken string
Résultat string