Metalama 1.0 / / Metalama Documentation / Introspection API / Metalama.​Framework.​Introspection / Introspection­Aspect­Relationship

Class IntrospectionAspectRelationship

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

Inheritance
IntrospectionAspectRelationship
Namespace: Metalama.Framework.Introspection
Assembly: Metalama.Framework.Introspection.dll
Syntax
public sealed class IntrospectionAspectRelationship : Object

Constructors

Name Description
IntrospectionAspectRelationship(AspectPredecessorKind, IIntrospectionAspectPredecessor)

Initializes a new instance of the IntrospectionAspectRelationship class.

Properties

Name Description
Instance

Gets the object that created the aspect instance. It can be an IIntrospectionAspectInstance, an IIntrospectionFabric, or an IIntrospectionAttributeAsPredecessor.

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()