In Metalama, use extension methods of the code model.
Namespace: PostSharp.Aspects
Assembly: Metalama.Migration.dll
Syntax
[Obsolete("In Metalama, use extension methods of the code model.", false)]
public interface IAspectRepositoryService : IServiceMethods
| Name | Description |
|---|---|
| GetAspectInstances(object) | |
| HasAspect(object, Type) | Use IDeclaration.Enhancements<T>(T). |
Events
| Name | Description |
|---|---|
| AspectDiscoveryCompleted | This event is not exposed, but when you register validators, they get executed after all aspects have been applied. |