C# Класс NAnt.VSNet.WrapperReferenceBase

Наследование: FileReferenceBase
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
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