PostSharpAPI ReferencePost­Sharp.​Aspects.​AdvicesAdvice
Open sandboxFocus

Class Advice

Base class for all custom attributes representing an advice.

Namespace: PostSharp.Aspects.Advices
Assembly: PostSharp.dll
Syntax
public abstract class Advice : Attribute

Constructors

Name Description
Advice() PostSharp.Aspects.Advices.Advice

Properties

Name Description
Description

A human-readable description of the current advice.

LinesOfCodeAvoided

Reduction in the code lines count achieved by applying the advice instance to one code element.