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

LinesOfCodeAvoidedAttribute Constructor

LinesOfCodeAvoidedAttribute(Int32)

Initializes a new LinesOfCodeAvoidedAttribute.

Declaration
public LinesOfCodeAvoidedAttribute(int lines)
Parameters
Type Name Description
System.Int32 lines

Number of lines of code saved every time the aspect is applied to a target class.