The CodeMetrics type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
CodeMetrics |
Default constructor
| |
CodeMetrics(IFileStreamFactory) |
Constructor used to inject dependencies
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Execute |
Called from MSBuild when the task executes
(Overrides Task Execute .) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
BuildEngine | Gets or sets the instance of the IBuildEngine object used by the task. (Inherited from Task.) | |
BuildEngine2 | Gets the instance of the IBuildEngine2 object used by the task. (Inherited from Task.) | |
BuildEngine3 | Gets the instance of the IBuildEngine3 object used by the task. (Inherited from Task.) | |
FileOutput |
True if the output should be generated to a file.
| |
HelpKeywordPrefix | Gets or sets the prefix used to compose Help keywords from resource names. (Inherited from Task.) | |
HostObject | Gets or sets the host object associated with the task. (Inherited from Task.) | |
Log | Gets an instance of a TaskLoggingHelper class containing task logging methods. (Inherited from Task.) | |
Metrics |
The metrics that will be computed by the task
| |
OutputFileName |
The file name of the output report
| |
Providers |
The code metrics providers that will be used in metrics computation.
| |
ShowConsoleOutput |
True if the output should be redirected to console. Good if you like the metrics to be stored with your build logs.
| |
ShowDetailsReport |
True if the details report should be generated
| |
ShowSummaryReport |
True if the summary report should be generated
| |
TaskResources | Gets or sets the culture-specific resources associated with the task. (Inherited from Task.) |
See Also