Custom attribute that, when applied to an aspect class, specifies how many manual lines of code are avoided every time the aspect is being used.
Namespace: PostSharp.Aspects
Assembly: PostSharp.dll
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public sealed class LinesOfCodeAvoidedAttribute : AttributeConstructors
| Name | Description |
|---|---|
| LinesOfCodeAvoidedAttribute(int) | Initializes a new LinesOfCodeAvoidedAttribute. |
Properties
| Name | Description |
|---|---|
| Count | Gets the number of lines of code saved every time the aspect is applied to a target class. |