Metalama 1.0 / / Metalama Documentation / Advanced API / Metalama.​Framework.​Engine.​Aspect­Weavers / IAspect­Weaver

Interface IAspectWeaver

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.