WithObject(dynamic)
Gets an IIndexerInvoker for the same method but with a different object, provided as a C# expression.
Declaration
IIndexerInvoker WithObject(dynamic obj)Parameters
| Type | Name | Description |
|---|---|---|
| dynamic | obj | The run-time C# expression that represents the object on which the indexer should be accessed. If the compile-time type
of the expression is |
Returns
| Type | Description |
|---|---|
| IIndexerInvoker |
WithObject(IExpression)
Gets an IIndexerInvoker for the same method but with a different object, provided as a compile-time IExpression.
Declaration
IIndexerInvoker WithObject(IExpression obj)Parameters
| Type | Name | Description |
|---|---|---|
| IExpression | obj | The IExpression that represents the object on which the indexer should be accessed. |
Returns
| Type | Description |
|---|---|
| IIndexerInvoker |