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.
Inheritance Hierarchy
System.Object
  System.Attribute
    PostSharp.Aspects.LinesOfCodeAvoidedAttribute

Namespace: PostSharp.Aspects
Assembly: PostSharp (in PostSharp.dll) Version: 4.3.30.0 (4.3.30.0)
Syntax
C#
public sealed class LinesOfCodeAvoidedAttribute : Attribute

The LinesOfCodeAvoidedAttribute type exposes the following members.

Constructors
  NameDescription
Public methodLinesOfCodeAvoidedAttribute
Initializes a new LinesOfCodeAvoidedAttribute.
Top
Properties
  NameDescription
Public propertyCount
Gets the number of lines of code saved every time the aspect is applied to a target class.
Top
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
Top
See Also