OverrideMethod()
The default template for overriding method implementations.
Declaration
[Template]
public abstract dynamic? OverrideMethod()Returns
| Type | Description |
|---|---|
| dynamic | The return value of the method. Use |
Remarks
This is the primary template method that must be implemented in derived aspects. It is used for all methods where
a more specific template (OverrideAsyncMethod(), OverrideEnumerableMethod(),
OverrideEnumeratorMethod(), OverrideAsyncEnumerableMethod, or OverrideAsyncEnumeratorMethod)
does not apply or has not been overridden.
Within the template, use meta.Proceed() to invoke the original method implementation, and meta.Target
to access information about the target method.