MetalamaAPI documentationAspect APIMetalama.​Framework.​FabricsIType­Amender
Open sandboxFocus

ITypeAmender Interface

Argument of AmendType(ITypeAmender). Allows reporting diagnostics and adding aspects to the target declaration of the fabric.

Namespace: Metalama.Framework.Fabrics
Assembly: Metalama.Framework.dll
Syntax
public interface ITypeAmender : IAmender<INamedType>, IAmender, IAspectReceiverSelector<INamedType>, IValidatorReceiverSelector<INamedType>

Properties

Name Description
Advice

Gets an object that allows creating advice, e.g. overriding members, introducing members, or implementing new interfaces.

Type

Gets the target type of the current fabric (i.e. the declaring type of the nested type).

Extension Methods

AmenderExtensions.Verify(ITypeAmender)