Metalama//API Documentation/Aspect API/Metalama.​Framework.​Aspects/IAspect­Builder/Layer
Open sandboxFocus

Property Layer

Layer

Gets the name of the layer being built, or null if this is the default (initial) layer. When an aspect has several layers, the BuildAspect(IAspectBuilder<T>) method is called several times. To register aspect layers, add the LayersAttribute custom attribute to the aspect class.

Declaration
string Layer { get; }
Property Value
Type Description
String