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.
Namespace: PostSharp.Aspects
Assembly: PostSharp.dll
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public sealed class AspectDescriptionAttribute : AttributeRemarks
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. |