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

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

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

Метод Описание
CreateProjectReference ( ProjectBase project ) : ProjectReferenceBase
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.

Защищенные методы

Метод Описание
AssemblyReferenceBase ( XmlElement xmlDefinition, ReferencesResolver referencesResolver, ProjectBase parent, GacCache gacCache ) : System
ResolveAssemblyReference ( ) : string

Resolves an assembly reference.

ResolveFromAssemblyFolders ( XmlElement referenceElement, string fileName ) : string
ResolveFromFolderList ( StringCollection folderList, string fileName ) : string

Searches for the given file in all paths in folderList.

ResolveFromFramework ( string fileName ) : string

Resolves an assembly reference in the framework assembly directory of the target framework.

ResolveFromRelativePath ( string relativePath ) : string

Resolves an assembly reference using a path relative to the project directory.

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

AssemblyReferenceBase() защищенный Метод

protected AssemblyReferenceBase ( XmlElement xmlDefinition, ReferencesResolver referencesResolver, ProjectBase parent, GacCache gacCache ) : System
xmlDefinition System.Xml.XmlElement
referencesResolver ReferencesResolver
parent ProjectBase
gacCache NAnt.Core.Util.GacCache
Результат System

CreateProjectReference() публичный Метод

public CreateProjectReference ( ProjectBase project ) : ProjectReferenceBase
project ProjectBase
Результат ProjectReferenceBase

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

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

ResolveAssemblyReference() защищенный абстрактный Метод

Resolves an assembly reference.
protected abstract ResolveAssemblyReference ( ) : string
Результат string

ResolveFromAssemblyFolders() защищенный Метод

protected ResolveFromAssemblyFolders ( XmlElement referenceElement, string fileName ) : string
referenceElement XmlElement
fileName string
Результат string

ResolveFromFolderList() защищенный Метод

Searches for the given file in all paths in folderList.
protected ResolveFromFolderList ( StringCollection folderList, string fileName ) : string
folderList StringCollection The folders to search.
fileName string The file to search for.
Результат string

ResolveFromFramework() защищенный Метод

Resolves an assembly reference in the framework assembly directory of the target framework.
protected ResolveFromFramework ( string fileName ) : string
fileName string The file to search for.
Результат string

ResolveFromRelativePath() защищенный Метод

Resolves an assembly reference using a path relative to the project directory.
protected ResolveFromRelativePath ( string relativePath ) : string
relativePath string
Результат string