Metalama
Open sandboxFocusImprove this doc

Metalama Documentation

Welcome to the documentation of Metalama, a code generation and analysis framework for C#.

How to navigate this documentation?

There are typically two types of Metalama users:

Each article is assigned a complexity level, such as 100, 200, 300, following the U.S. school system. Before advancing to a level 200 article, ensure you have a solid understanding of level 100. We strive to avoid incorporating complex details into basic level articles. Occasionally, you may need to study several articles to gather comprehensive information on a specific topic.

Documentation structure

Book Description
Getting started with Metalama A quick Hello, world walkthrough that shows you how to create a logging aspect and apply a simple architecture validation rule.
Video tutorials A collection of tutorial videos.
Conceptual documentation Comprehensive and precise reference documentation.
Commented examples Commented examples with varying degrees of complexity.
Metalama API documentation API documentation generated from the source code.

Getting help

If you have any questions, don't hesitate to reach out:

The source code for this documentation (excluding the API documentation) is open-source and hosted at https://github.com/postsharp/Metalama.Documentation. You can: