AmendType(ITypeAmender)
Implement this method to programmatically advise the containing type, add aspects to its members, configure options, validate architecture, and report or suppress diagnostics. This method is invoked automatically at compile time and design time. You can also add declarative advice such as member introductions to the type fabric class itself.
Declaration
public virtual void AmendType(ITypeAmender amender)Parameters
| Type | Name | Description |
|---|---|---|
| ITypeAmender | amender | An object that provides access to the containing type's members through Advice, allowing you to add advice, introduce members, configure options, and report diagnostics. |