Class MetricAttribute
Custom attribute that, when applied on an aspect, causes the aspect to increment some metric at build time.
Namespace: PostSharp.Extensibility
Assembly: PostSharp.dll
Syntax
public class MetricAttribute : Attribute
Constructors
Name | Description |
---|---|
MetricAttribute(String, Object) | Initializes a new MetricAttribute. |
Properties
Name | Description |
---|---|
AllowImplementationMetrics | Determines whether the usage of features used by the target aspects must be instrumented. |
MetricName | Gets the name of the metric. |
Operand | Gets the operand of the metric. |