C# Class NAnt.VSNet.AssemblyReferenceBase

Inheritance: FileReferenceBase
Afficher le fichier Open project: skolima/NAnt Class Usage Examples

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
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.

Method Details

AssemblyReferenceBase() protected méthode

protected AssemblyReferenceBase ( XmlElement xmlDefinition, ReferencesResolver referencesResolver, ProjectBase parent, GacCache gacCache ) : System
xmlDefinition System.Xml.XmlElement
referencesResolver ReferencesResolver
parent ProjectBase
gacCache NAnt.Core.Util.GacCache
Résultat System

CreateProjectReference() public méthode

public CreateProjectReference ( ProjectBase project ) : ProjectReferenceBase
project ProjectBase
Résultat ProjectReferenceBase

GetAssemblyReferences() public méthode

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.
Résultat System.Collections.Specialized.StringCollection

GetOutputFiles() public méthode

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.
Résultat void

GetPrimaryOutputFile() public méthode

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.
Résultat string

GetTimestamp() public méthode

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

ResolveAssemblyReference() protected abstract méthode

Resolves an assembly reference.
protected abstract ResolveAssemblyReference ( ) : string
Résultat string

ResolveFromAssemblyFolders() protected méthode

protected ResolveFromAssemblyFolders ( XmlElement referenceElement, string fileName ) : string
referenceElement XmlElement
fileName string
Résultat string

ResolveFromFolderList() protected méthode

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.
Résultat string

ResolveFromFramework() protected méthode

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.
Résultat string

ResolveFromRelativePath() protected méthode

Resolves an assembly reference using a path relative to the project directory.
protected ResolveFromRelativePath ( string relativePath ) : string
relativePath string
Résultat string