Open sandboxFocus

Enum InvokerOptions

Options that influence the behavior of invokers, i.e. IMethodInvoker, IFieldOrPropertyInvoker, IEventInvoker or IIndexerInvoker.

Namespace: Metalama.Framework.Code.Invokers
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
[Flags]
public enum InvokerOptions

Fields

Name Description
Base

Generates calls to the base implementation, i.e. before any override or introduction by the current aspect layer.

Current

Generates calls to the current implementation, i.e. after all overrides or introductions by the current aspect layer, but before any next aspect layer or any derived type.

Default

When the invoked member is the target member of the current template (i.e. meta.Target.Declaration), and when no target instance or type is explicitly specified, for the invoker, equivalent to Base. Otherwise, equivalent to Final.

Final

Causes the final implementation to be called, i.e. the implementation after all overrides by aspects and, if the member is virtual, by derived classes through the override keyword.

NullConditional

Specifies that the null-conditional access operator (?. aka Elvis) has to be used instead of the dot operator.

OrderMask

Mask for bits that encode order values.