C# 클래스 NAnt.VSNet.WrapperReferenceBase

상속: FileReferenceBase
파일 보기 프로젝트 열기: skolima/NAnt 1 사용 예제들

공개 메소드들

메소드 설명
GetAssemblyReferences ( NAnt.VSNet.Configuration solutionConfiguration ) : StringCollection

Gets the complete set of assemblies that need to be referenced when a project references this component.

GetOutputFiles ( NAnt.VSNet.Configuration solutionConfiguration, Hashtable outputFiles ) : void

Gets the complete set of output files for the referenced project.

The key of the case-insensitive Hashtable is the full path of the output file and the value is the path relative to the output directory.

GetPrimaryOutputFile ( NAnt.VSNet.Configuration solutionConfiguration ) : string

Gets the path of the reference, without taking the "copy local" setting into consideration.

GetTimestamp ( NAnt.VSNet.Configuration solutionConfiguration ) : System.DateTime

Gets the timestamp of the reference.

보호된 메소드들

메소드 설명
GetPrimaryInteropAssembly ( ) : string
GetTypeLibrary ( ) : string
GetTypeLibraryName ( string typeLibraryPath ) : string
ImportActiveXLibrary ( ) : void
ImportTypeLibrary ( ) : void
ResolveWrapperAssembly ( ) : string
WrapperReferenceBase ( XmlElement xmlDefinition, ReferencesResolver referencesResolver, ProjectBase parent, GacCache gacCache ) : System.Runtime.InteropServices.ComTypes

비공개 메소드들

메소드 설명
CreateInvalidTypeLibraryRegistrationException ( ) : BuildException
CreateTypeLibraryNotRegisteredException ( ) : BuildException
CreateTypeLibraryPathDoesNotExistException ( string typeLibraryPath ) : BuildException
CreateWrapper ( NAnt.VSNet.ConfigurationBase config ) : string
LoadTypeLibEx ( string strTypeLibName, int regKind, [ typeLib ) : void
Sync ( NAnt.VSNet.ConfigurationBase config ) : void

Removes wrapper assembly from build directory, if wrapper assembly no longer exists in output directory or is not in sync with build directory, to force rebuild.

메소드 상세

GetAssemblyReferences() 공개 메소드

Gets the complete set of assemblies that need to be referenced when a project references this component.
public GetAssemblyReferences ( NAnt.VSNet.Configuration solutionConfiguration ) : StringCollection
solutionConfiguration NAnt.VSNet.Configuration The solution configuration that is built.
리턴 System.Collections.Specialized.StringCollection

GetOutputFiles() 공개 메소드

Gets the complete set of output files for the referenced project.
The key of the case-insensitive Hashtable is the full path of the output file and the value is the path relative to the output directory.
public GetOutputFiles ( NAnt.VSNet.Configuration solutionConfiguration, Hashtable outputFiles ) : void
solutionConfiguration NAnt.VSNet.Configuration The solution configuration that is built.
outputFiles System.Collections.Hashtable The set of output files to be updated.
리턴 void

GetPrimaryInteropAssembly() 보호된 메소드

protected GetPrimaryInteropAssembly ( ) : string
리턴 string

GetPrimaryOutputFile() 공개 메소드

Gets the path of the reference, without taking the "copy local" setting into consideration.
public GetPrimaryOutputFile ( NAnt.VSNet.Configuration solutionConfiguration ) : string
solutionConfiguration NAnt.VSNet.Configuration The solution configuration that is built.
리턴 string

GetTimestamp() 공개 메소드

Gets the timestamp of the reference.
public GetTimestamp ( NAnt.VSNet.Configuration solutionConfiguration ) : System.DateTime
solutionConfiguration NAnt.VSNet.Configuration The solution configuration that is built.
리턴 System.DateTime

GetTypeLibrary() 보호된 메소드

protected GetTypeLibrary ( ) : string
리턴 string

GetTypeLibraryName() 보호된 메소드

protected GetTypeLibraryName ( string typeLibraryPath ) : string
typeLibraryPath string
리턴 string

ImportActiveXLibrary() 보호된 추상적인 메소드

protected abstract ImportActiveXLibrary ( ) : void
리턴 void

ImportTypeLibrary() 보호된 추상적인 메소드

protected abstract ImportTypeLibrary ( ) : void
리턴 void

ResolveWrapperAssembly() 보호된 메소드

protected ResolveWrapperAssembly ( ) : string
리턴 string

WrapperReferenceBase() 보호된 메소드

protected WrapperReferenceBase ( XmlElement xmlDefinition, ReferencesResolver referencesResolver, ProjectBase parent, GacCache gacCache ) : System.Runtime.InteropServices.ComTypes
xmlDefinition System.Xml.XmlElement
referencesResolver ReferencesResolver
parent ProjectBase
gacCache NAnt.Core.Util.GacCache
리턴 System.Runtime.InteropServices.ComTypes