| Visual Basic (Declaration) | |
|---|---|
<DefaultMemberAttribute("Item")> Public Interface ICodeMetric (Of TCodeElement As {Class, ICodeElement}, TNumeric As {New, Struct}) | |
| C# | |
|---|---|
[DefaultMemberAttribute("Item")] public interface ICodeMetric<TCodeElement,TNumeric> where TCodeElement: class, ICodeElement where TNumeric: new(), struct | |
- 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.
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>.
A custom code metric object can also be created through the particular method ExtensionMethodsHelpers.ExtensionMethodsHelpers.FillIterative<TCodeElement>.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family