Metalama / / API Documentation / Aspect API / Metalama.​Framework.​Aspects / Exclude­Aspect­Attribute

Class ExcludeAspectAttribute

Custom attribute attribute that, when applied to a declaration, specifies that this declaration and all its members must not be the target of aspects of given types, unless the aspect is explicitly specified as a custom attribute.

Inheritance
ExcludeAspectAttribute
Namespace: Metalama.Framework.Aspects
Assembly: Metalama.Framework.dll
Syntax
public sealed class ExcludeAspectAttribute : Attribute

Constructors

Name Description
ExcludeAspectAttribute(Type[])

Initializes a new instance of the ExcludeAspectAttribute class.

Properties

Name Description
Justification

Gets or sets the justification of the exclusion.