MetalamaAPI documentationIntrospection APIMetalama.​Framework.​IntrospectionIIntrospection­Aspect­Layer
Open sandboxFocus

IIntrospectionAspectLayer Interface

Namespace: Metalama.Framework.Introspection
Assembly: Metalama.Framework.Introspection.dll
Syntax
public interface IIntrospectionAspectLayer

Properties

Name Description
AspectClass

Gets the aspect class.

ExplicitOrder

Gets the aspect layer execution order given by the AspectOrderAttribute attributes. Several layers can have the same value for the ExplicitOrder property if ordering is incomplete. For the actual execution order without ambiguities, see the Order property.

Id

Gets the aspect layer identifier.

IsDefaultLayer

Gets a value indicating whether the layer is the default layer of the AspectClass.

LayerName

Gets the name of the layer, or null for the default layer.

Order

Gets the actual order in which the layer is executed against the code model, which typically the inverse order in which the code generated by the layer is executed. This order is determined by evaluating the set of AspectOrderAttribute attributes, and applying alphabetical sort to resolve ambiguities. To get the order that relies only on AspectOrderAttribute attributes, without alphabetical ordering, see ExplicitOrder.