Post­Sharp Documentation / API Reference / Post­Sharp.​Aspects Namespace / Aspect­Description­Attribute Class

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 Hierarchy
System.Object
  System.Attribute
    PostSharp.Aspects.AspectDescriptionAttribute

Namespace:  PostSharp.Aspects
Assembly:  PostSharp (in PostSharp.dll) Version: 5.0.39.0 (5.0.39.0)
Syntax
C#
public sealed class AspectDescriptionAttribute : Attribute

The AspectDescriptionAttribute type exposes the following members.

Constructors
  NameDescription
Public methodAspectDescriptionAttribute
Initializes a new instance of the AspectDescriptionAttribute class.
Properties
  NameDescription
Public propertyDescription
Gets a human-readable description of the aspect class to which the AspectDescriptionAttribute custom attribute is applied.
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
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.

See Also