Post­Sharp Documentation / API Reference / Post­Sharp.​Aspects Namespace / Lines­Of­Code­Avoided­Attribute Class / Lines­Of­Code­Avoided­Attribute Constructor

LinesOfCodeAvoidedAttribute Constructor

Initializes a new LinesOfCodeAvoidedAttribute.

Namespace:  PostSharp.Aspects
Assembly:  PostSharp (in PostSharp.dll) Version: 6.0.18.0 (6.0.18.0)
Syntax
C#
public LinesOfCodeAvoidedAttribute(
	int lines
)

Parameters

lines
Type: System.Int32
Number of lines of code saved every time the aspect is applied to a target class.
See Also