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

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

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

Метод Описание
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 of the reference for the specified configuration.

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 output path of the reference, without taking the "copy local" setting into consideration.

GetRelatedFiles ( string file, Hashtable relatedFiles ) : void
GetTimestamp ( NAnt.VSNet.Configuration solutionConfiguration ) : System.DateTime

Gets the timestamp of the reference.

IsManaged ( NAnt.VSNet.Configuration solutionConfiguration ) : bool

Gets a value indicating whether the reference is managed for the specified configuration.

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

Метод Описание
GetFileTimestamp ( string fileName ) : System.DateTime

Returns the date and time the specified file was last written to.

Log ( Level messageLevel, string message ) : void

Logs a message with the given priority.

The actual logging is delegated to the underlying task.

ReferenceBase ( ReferencesResolver referencesResolver, ProjectBase parent ) : System

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

GetAssemblyReferences() публичный абстрактный Метод

Gets the complete set of assemblies that need to be referenced when a project references this component.
public abstract GetAssemblyReferences ( NAnt.VSNet.Configuration solutionConfiguration ) : StringCollection
solutionConfiguration NAnt.VSNet.Configuration The solution configuration that is built.
Результат System.Collections.Specialized.StringCollection

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

Returns the date and time the specified file was last written to.
protected GetFileTimestamp ( string fileName ) : System.DateTime
fileName string The file for which to obtain write date and time information.
Результат System.DateTime

GetOutputFiles() публичный абстрактный Метод

Gets the complete set of output files of the reference for the specified configuration.
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 abstract 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 output path of the reference, without taking the "copy local" setting into consideration.
public abstract GetPrimaryOutputFile ( NAnt.VSNet.Configuration solutionConfiguration ) : string
solutionConfiguration NAnt.VSNet.Configuration The solution configuration that is built.
Результат string

GetRelatedFiles() публичный статический Метод

public static GetRelatedFiles ( string file, Hashtable relatedFiles ) : void
file string
relatedFiles System.Collections.Hashtable
Результат void

GetTimestamp() публичный абстрактный Метод

Gets the timestamp of the reference.
public abstract GetTimestamp ( NAnt.VSNet.Configuration solutionConfiguration ) : System.DateTime
solutionConfiguration NAnt.VSNet.Configuration The solution configuration that is built.
Результат System.DateTime

IsManaged() публичный абстрактный Метод

Gets a value indicating whether the reference is managed for the specified configuration.
public abstract IsManaged ( NAnt.VSNet.Configuration solutionConfiguration ) : bool
solutionConfiguration NAnt.VSNet.Configuration The solution configuration that is built.
Результат bool

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

Logs a message with the given priority.
The actual logging is delegated to the underlying task.
protected Log ( Level messageLevel, string message ) : void
messageLevel Level The message priority at which the specified message is to be logged.
message string The message to be logged.
Результат void

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

protected ReferenceBase ( ReferencesResolver referencesResolver, ProjectBase parent ) : System
referencesResolver ReferencesResolver
parent ProjectBase
Результат System