C# 클래스 NAnt.Core.Util.GacCache

Helper class for determining whether assemblies are located in the Global Assembly Cache.
상속: IDisposable
파일 보기 프로젝트 열기: skolima/NAnt 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Dispose void

공개 메소드들

메소드 설명
Dispose ( ) : void
GacCache ( Project project ) : System.Security

Initializes a new instance of the GacCache class in the context of the given Project.

IsAssemblyInGac ( string assemblyFile ) : bool

Determines whether an assembly is installed in the Global Assembly Cache given its file name or path.

To determine whether the specified assembly is installed in the Global Assembly Cache, the assembly is loaded into a separate AppDomain.

If the family of the current runtime framework does not match the family of the current target framework, this method will return for all assemblies as there's no way to determine whether a given assembly is in the Global Assembly Cache for another framework family than the family of the current runtime framework.

RecreateDomain ( ) : void

비공개 메소드들

메소드 설명
Dispose ( bool disposing ) : void

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GacCache() 공개 메소드

Initializes a new instance of the GacCache class in the context of the given Project.
public GacCache ( Project project ) : System.Security
project NAnt.Core.Project
리턴 System.Security

IsAssemblyInGac() 공개 메소드

Determines whether an assembly is installed in the Global Assembly Cache given its file name or path.

To determine whether the specified assembly is installed in the Global Assembly Cache, the assembly is loaded into a separate AppDomain.

If the family of the current runtime framework does not match the family of the current target framework, this method will return for all assemblies as there's no way to determine whether a given assembly is in the Global Assembly Cache for another framework family than the family of the current runtime framework.

public IsAssemblyInGac ( string assemblyFile ) : bool
assemblyFile string The name or path of the file that contains the manifest of the assembly.
리턴 bool

RecreateDomain() 공개 메소드

public RecreateDomain ( ) : void
리턴 void