MetalamaAPI documentationAdvanced APIMetalama.​Framework.​Engine.​Aspect­WeaversIAspect­Weaver
Open sandboxFocus

IAspectWeaver Interface

Aspect weavers are responsible for applying low-level aspects to the Roslyn transformation. They are used for low-level transformations only, and don't totally integrate with high-level aspects. Implementations of this class must be public, have a default constructor, and be annotated with the MetalamaPlugInAttribute custom attribute.

Namespace: Metalama.Framework.Engine.AspectWeavers
Assembly: Metalama.Framework.Sdk.dll
Syntax
[CompileTime]
public interface IAspectWeaver : IAspectDriver

Methods

Name Description
TransformAsync(AspectWeaverContext)

Transforms a Roslyn compilation according to some given aspects.