NDepend.API Documentation
ICodeMetric<TCodeElement,TNumeric> Interface
Members 
NDepend.CodeModel Namespace : ICodeMetric<TCodeElement,TNumeric> Interface
The code element type that is ICodeElement or that implements ICodeElement.
The numeric value type that is one of these type: byte, sbyte, short, ushort, int, uint, long, ulong, float, double, decimal.
Represent a code metric, a correspondance between a set of code elements and some numerical values.
Syntax
[DefaultMember("Item")]
public interface ICodeMetric<TCodeElement,TNumeric> 
where TCodeElement: class, ICodeElement
where TNumeric: new(), struct
Type Parameters
TCodeElement
The code element type that is ICodeElement or that implements ICodeElement.
TNumeric
The numeric value type that is one of these type: byte, sbyte, short, ushort, int, uint, long, ulong, float, double, decimal.
Remarks
A code metric object is returned by extension methods of ExtensionMethodsSequenceUsage defined on sequences of code elements.
A custom code metric object can also be created through the particular method ExtensionMethodsHelpers.ExtensionMethodsHelpers.FillIterative<TCodeElement>.
Requirements

Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ICodeMetric<TCodeElement,TNumeric> Members
NDepend.CodeModel Namespace
ICodeMetricValue<TCodeElement,TNumeric> Interface
ExtensionMethodsSequenceUsage Class
FillIterative<TCodeElement> Method