Metalama 1.0 / / Metalama Documentation / Conceptual Documentation / Extending Metalama

Extending Metalama with the Roslyn API

Metalama.Framework.Sdk offers direct access to Metalama's underlying code-modifying capabilities through Roslyn-based APIs.

Unlike Metalama.Framework, our high-level API, aspects built with Metalama.Framework.Sdk must be in their own project, separate from the code they transform. Metalama.Framework.Sdk is much more complex and less safe than Metalama.Framework, and does not allow for a good design-time experience. You should use Metalama.Framework.Sdk only when necessary.

This chapter contains the following articles: