Open sandboxFocus

Interface IFieldOrPropertyInvoker

Allows accessing the the value of fields or properties through the Value property of the IExpression interface. By default, the target instance of the field or property is this unless the property is static, and the base implementation of the property is invoked, i.e. the implementation before the current aspect layer. To change the default values, or to use the ?. null-conditional operator, use the With(InvokerOptions) method.

Namespace: Metalama.Framework.Code.Invokers
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public interface IFieldOrPropertyInvoker : IExpression, IHasType

Methods

Name Description
With(InvokerOptions)

Gets an IFieldOrPropertyInvoker for the same field or property and target but with different options.

With(dynamic?, InvokerOptions)

Gets an IFieldOrPropertyInvoker for the same field or property but with a different field or property and with different options.

Extension Methods