MetalamaAPI documentationPost­Sharp API migrationPost­Sharp.​AspectsIAspect­Provider
Open sandboxFocus

IAspectProvider Interface

In Metalama, you can add aspects using fabrics. In aspects, implement the BuildAspect(IAspectBuilder<T>). In fabrics, implement AmendType(ITypeAmender), AmendProject(IProjectAmender) or AmendNamespace(INamespaceAmender). In both cases, call the method, then call AddAspect<TAspect>().

Namespace: PostSharp.Aspects
Assembly: Metalama.Migration.dll
Syntax
public interface IAspectProvider : IAspect, IService

Methods

Name Description
ProvideAspects(Object)

See Also