C# Class NAnt.VSNet.ReferenceBase

Exibir arquivo Open project: skolima/NAnt Class Usage Examples

Public Methods

Method Description
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.

Protected Methods

Method Description
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

Method Details

GetAssemblyReferences() public abstract method

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.
return System.Collections.Specialized.StringCollection

GetFileTimestamp() protected method

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.
return System.DateTime

GetOutputFiles() public abstract method

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.
return void

GetPrimaryOutputFile() public abstract method

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.
return string

GetRelatedFiles() public static method

public static GetRelatedFiles ( string file, Hashtable relatedFiles ) : void
file string
relatedFiles System.Collections.Hashtable
return void

GetTimestamp() public abstract method

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.
return System.DateTime

IsManaged() public abstract method

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.
return bool

Log() protected method

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.
return void

ReferenceBase() protected method

protected ReferenceBase ( ReferencesResolver referencesResolver, ProjectBase parent ) : System
referencesResolver ReferencesResolver
parent ProjectBase
return System