CodeMetrics MembersMSBuildCodeMetrics

The CodeMetrics type exposes the following members.
Constructors

  NameDescription
Public methodCodeMetrics 
Default constructor
Public methodCodeMetrics(IFileStreamFactory)
Constructor used to inject dependencies
Back to Top
Methods

  NameDescription
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Public methodExecute
Called from MSBuild when the task executes
(Overrides OnlineTask Execute .)
Protected methodOnlineFinalize
Allows an OnlineObject to attempt to free resources and perform other cleanup operations before the OnlineObject is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodOnlineToString
Returns a OnlineString that represents the current OnlineObject.
(Inherited from OnlineObject.)
Back to Top
Properties

  NameDescription
Public propertyOnlineBuildEngine
Gets or sets the instance of the OnlineIBuildEngine object used by the task.
(Inherited from OnlineTask.)
Public propertyOnlineBuildEngine2
Gets the instance of the OnlineIBuildEngine2 object used by the task.
(Inherited from OnlineTask.)
Public propertyOnlineBuildEngine3
Gets the instance of the OnlineIBuildEngine3 object used by the task.
(Inherited from OnlineTask.)
Public propertyFileOutput
True if the output should be generated to a file.
Protected propertyOnlineHelpKeywordPrefix
Gets or sets the prefix used to compose Help keywords from resource names.
(Inherited from OnlineTask.)
Public propertyOnlineHostObject
Gets or sets the host object associated with the task.
(Inherited from OnlineTask.)
Public propertyOnlineLog
Gets an instance of a OnlineTaskLoggingHelper class containing task logging methods.
(Inherited from OnlineTask.)
Public propertyMetrics
The metrics that will be computed by the task
Public propertyOutputFileName
The file name of the output report
Public propertyProviders
The code metrics providers that will be used in metrics computation.
Public propertyShowConsoleOutput
True if the output should be redirected to console. Good if you like the metrics to be stored with your build logs.
Public propertyShowDetailsReport
True if the details report should be generated
Public propertyShowSummaryReport
True if the summary report should be generated
Protected propertyOnlineTaskResources
Gets or sets the culture-specific resources associated with the task.
(Inherited from OnlineTask.)
Back to Top
See Also