LinesOfCodeAvoidedAttribute Class |
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 (in PostSharp.dll) Version: 4.3.48.0 (4.3.48.0)
C#
public sealed class LinesOfCodeAvoidedAttribute : Attribute
The LinesOfCodeAvoidedAttribute type exposes the following members.
Name | Description | |
---|---|---|
LinesOfCodeAvoidedAttribute |
Initializes a new LinesOfCodeAvoidedAttribute.
|
Name | Description | |
---|---|---|
Count |
Gets the number of lines of code saved every time the aspect is applied to a target class.
|
Name | Description | |
---|---|---|
QueryInterface<T> |
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.) |