Open sandboxFocus

Class LinesOfCodeAvoidedAttribute

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
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public sealed class LinesOfCodeAvoidedAttribute : Attribute

Constructors

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.