PostSharpAPI ReferencePost­Sharp.​AspectsAspect­Description­Attribute
Open sandboxFocus

AspectDescriptionAttribute Class

Custom attribute that, when applied to an aspect class, specifies a human-readable description of the aspect that can be displayed in PostSharp Tools for Visual Studio.

Inheritance
AspectDescriptionAttribute
Namespace: PostSharp.Aspects
Assembly: PostSharp.dll
Syntax
public sealed class AspectDescriptionAttribute : Attribute
Remarks

This attribute is intended to be used on simple aspects like OnMethodBoundaryAspect or MethodInterceptionArgs. For composite aspects, specify the description of each advice using the Description property.

Constructors

Name Description
AspectDescriptionAttribute(String)

Initializes a new instance of the AspectDescriptionAttribute class.

Properties

Name Description
Description

Gets a human-readable description of the aspect class to which the AspectDescriptionAttribute custom attribute is applied.