MetalamaAPI documentationAspect APIMetalama.​Framework.​FabricsProject­Fabric
Open sandboxFocus

ProjectFabric Class

A class that, when inherited by a type in a project (under any name or namespace), allows that type to analyze and add aspects to that project.

Inheritance
ProjectFabric
Namespace: Metalama.Framework.Fabrics
Assembly: Metalama.Framework.dll
Syntax
public abstract class ProjectFabric : Fabric, ICompileTimeSerializable, ITemplateProvider
Remarks

When the project contains several project fabrics, the ones whose source file is the closest to the root directory is executed first. The project fabrics are then ordered by type name.

Constructors

Name Description
ProjectFabric()

Methods

Name Description
AmendProject(IProjectAmender)

The user can implement this method to analyze types in the current project, add aspects, and report or suppress diagnostics.

See Also