Open sandboxFocus

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
[AttributeUsage(AttributeTargets.All)]
public sealed class ExcludeAspectAttribute : Attribute

Constructors

Name Description
ExcludeAspectAttribute(params Type[])

Initializes a new instance of the ExcludeAspectAttribute class.

Properties

Name Description
Justification

Gets or sets the justification of the exclusion.