Open sandboxFocus

Property this

this[IExpression[]]

Gets an IExpression representing an item, with arguments represented as a list of IExpression.

Declaration
IExpression this[params IExpression[] args] { get; }
Parameters
Type Name Description
IExpression[] args

A list of IExpression to be passed to the indexer.

Property Value
Type Description
IExpression

An IExpression representing the specified item.

Remarks

By default, the indexer is accessed on the current object (this), unless it is static. The base implementation of the indexer 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 WithOptions(InvokerOptions) method.

this[dynamic?[]]

Gets an IExpression representing an item, with arguments represented as run-time C# expressions.

Declaration
IExpression this[params dynamic?[] args] { get; }
Parameters
Type Name Description
dynamic[] args

A list of run-time C# expressions to be passed to the indexer. If the compile-time type of any expression is dynamic, it must be explicitly cast to IExpression.

Property Value
Type Description
IExpression

An IExpression representing the specified item.

Remarks

By default, the indexer is accessed on the current object (this), unless it is static. The base implementation of the indexer 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 WithOptions(InvokerOptions) method.