Open sandboxFocus

Property AspectInstance

AspectInstance

Gets the current IAspectInstance, which provides metadata about this aspect instance.

Declaration
IAspectInstance AspectInstance { get; }
Property Value
Type Description
IAspectInstance
Remarks

This property gives access to:

  • Predecessors: The chain of aspects and fabrics that caused this aspect to be applied
  • SecondaryInstances: Additional instances when multiple instances of the same aspect type are applied to the same declaration (only the primary instance's BuildAspect is called)
  • AspectState: Custom state data specific to this aspect instance