MetalamaAPI documentationAspect APIMetalama.​Framework.​AspectsIAspect­InstanceSecondary­Instances
Open sandboxFocus

IAspectInstance.SecondaryInstances Property

SecondaryInstances

Gets the other instances of the same AspectClass on the same TargetDeclaration. When several instances of the same AspectClass are found on the same TargetDeclaration, they are ordered by priority, and only the first one gets executed. The other instances are exposed on this property.

Declaration
ImmutableArray<IAspectInstance> SecondaryInstances { get; }
Property Value
Type Description
System.Collections.Immutable.ImmutableArray<IAspectInstance>