Gets the set of instances of a specified type of aspects that have been applied to a specified declaration.
public IEnumerable<TAspect> GetAspects<TAspect>() where TAspect : IAspect<T>
The set of aspects of exact type
The exact type of aspects.
You can call this method only for 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.