Open sandboxFocus

Interface ITypeAmender

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, IAspectReceiver<INamedType>, IValidatorReceiver<INamedType>, IValidatorReceiver

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