Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Code.​Invokers / IInvoker­Factory<T>

Interface IInvokerFactory<T>

Gives access to invokers.

Namespace: Metalama.Framework.Code.Invokers
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public interface IInvokerFactory<out T>
    where T : IInvoker
Type Parameters
Name Description
T

Properties

Name Description
Base

Gets the invoker for the base implementation of the declaration, i.e. before the application of the current aspect layer. To access the current layer, use Final. This property uses the unconditional access operator .. For null-conditional access, use ConditionalBase.

ConditionalBase

Gets the invoker for the base implementation of the declaration, i.e. before the application of the current aspect layer. To access the current layer, use Final. This property uses the null-conditional access operator ?.. For unconditional access, use Base.

ConditionalFinal

Gets the invoker for the final implementation of the declaration, i.e. after the application of all aspects. If the member is virtual, the returned invoker performs a virtual call, therefore it calls the implementation on the child type (possibly with all applied aspects) is performed. To access the prior layer (or the base type, if there is no prior layer), use Base. This property uses the null-conditional access operator ?.. For unconditional access, use Final.

Final

Gets the invoker for the final implementation of the declaration, i.e. after the application of all aspects. If the member is virtual, the returned invoker performs a virtual call, therefore it calls the implementation on the child type (possibly with all applied aspects) is performed. To access the prior layer (or the base type, if there is no prior layer), use Base. This property uses the unconditional access operator .. For null-conditional access, use ConditionalFinal.

Methods

Name Description
GetInvoker(InvokerOrder, InvokerOperator)

Gets the invoker for a given InvokerOrder and InvokerOperator.