Open sandboxFocus

Class LayersAttribute

Custom attribute that, when applied to an aspect class, means that this aspect class uses several layers, and defines the name and the order of execution of these layers. In multi-aspect layers, the BuildAspect(IAspectBuilder<T>) method is called several times, once for each layer. The current layer is exposed in the Layer property.

Inheritance
LayersAttribute
Namespace: Metalama.Framework.Aspects
Assembly: Metalama.Framework.dll
Syntax
[AttributeUsage(AttributeTargets.Class)]
public sealed class LayersAttribute : Attribute

Constructors

Name Description
LayersAttribute(params string[])

Properties

Name Description
Layers

Extension Methods