MetalamaAPI documentationAspect APIMetalama.​Framework.​AspectsLayers­Attribute
Open sandboxFocus

LayersAttribute Class

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
System.Object
LayersAttribute
Namespace: Metalama.Framework.Aspects
Assembly: Metalama.Framework.dll
Syntax
public sealed class LayersAttribute : Attribute

Constructors

Name Description
LayersAttribute(String[])

Properties

Name Description
Layers