Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Aspects / Aspect­Predecessor

Class AspectPredecessor

Represents the relationship that an object (attribute, fabric, aspect) has created or required another aspect or validator. These relationships are exposed on Predecessors.

Inheritance
AspectPredecessor
Namespace: Metalama.Framework.Aspects
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public sealed class AspectPredecessor : ValueType

Properties

Name Description
Instance

Gets the object that created the aspect instance. It can be an IAspectInstance, an IFabricInstance, or an IAttribute.

Kind

Gets the kind of relationship represented by the current AspectPredecessor, and the kind of object present in the Instance property.

Methods

Name Description
ToString()