GetAspectInstances()
Gets the set of aspects (represented by their IAspectInstance) that have been applied to a specified declaration.
Declaration
public IEnumerable<IAspectInstance> GetAspectInstances()
Returns
Type | Description |
---|---|
IEnumerable<IAspectInstance> | The set of aspects of exact type |
Remarks
This method will only return aspects that have been already been applied or are being applied, i.e. you can query aspects that are applied before the current aspect, or you can query instances of the current aspects applied in a parent class.