Metalama 1.0 / / Metalama Documentation / Aspect API Documentation / Metalama.​Framework.​Fabrics / Project­Fabric

Class ProjectFabric

An interface that, when implemented by a type in a project (under any name or namespace), allows that type to analyze and add aspects to that project.

Inheritance
ProjectFabric
Implements
ILamaSerializable
Namespace: Metalama.Framework.Fabrics
Assembly: Metalama.Framework.dll
Syntax
public abstract class ProjectFabric : Fabric, ILamaSerializable
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.

Extension Methods

PresentingExtensions.AsHyperlink(Object)

See Also