Open sandboxFocus

Class TypeFabric

An class that, when inherited by a nested type in a given type, allows that nested type to analyze and add aspects to the parent type.

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

Constructors

Name Description
TypeFabric()

Methods

Name Description
AmendType(ITypeAmender)

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

See Also