Metalama 1.0 / / Metalama Documentation / Advanced API

Advanced API Documentation

These namespaces and assemblies allow you to write aspects (and other code transformations that do not integrate with the aspect framework) at a low level of abstraction, by manipulating directly the Roslyn syntax trees.

Namespace Description
Metalama.Compiler This namespace allows to write source transformers at the lowest level of abstraction, without a concept of aspect. There is no use case where you should use this API, except the MetalamaPlugInAttribute class.
Metalama.Framework.Engine.AspectWeavers This namespace allows you to write aspects at a low level of abstraction with the Roslyn APIs. Unlike Metalama.Compiler, this namespace integrates with the
Metalama.Framework.Engine.Collections This namespace exposes collection interfaces.
Metalama.Framework.Engine.Formatting This namespace exposes the annotations used by the Metalama formatting feature.
Metalama.TestFramework This namespace exposes the Metalama test framework. You should normally not use this namespace directly, but use the high-level features described in Compile-Time Testing.