Specifies how an aspect instance was created or added to a declaration. This determines the type of object in Instance.
Namespace: Metalama.Framework.Aspects
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public enum AspectPredecessorKindFields
| Name | Description |
|---|---|
| Attribute | The aspect has been created by a custom attribute. Instance is an IAttribute. |
| ChildAspect | The aspect has been created by another aspect. Instance is an IAspect. |
| Fabric | The aspect has been created by a fabric. Instance is an IFabricInstance. |
| Inherited | Aspects added because of aspect inheritance. |
| Interactive | The aspect has been applied interactively by the user, e.g. as a live template. |
| RequiredAspect | The aspect has been required by another aspect using RequireAspect(IAdviser, Type). |