PostSharp.ILAPI ReferencePost­Sharp.​AspectsLines­Of­Code­Avoided­Attribute
Open sandboxFocus

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
LinesOfCodeAvoidedAttribute
Namespace: PostSharp.Aspects
Assembly: PostSharp.dll
Syntax
public sealed class LinesOfCodeAvoidedAttribute : Attribute

Constructors

Name Description
LinesOfCodeAvoidedAttribute(Int32)

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.