MetalamaAPI documentationAspect APIMetalama.​Framework.​Code.​InvokersIIndexer­InvokerWith
Open sandboxFocus

IIndexerInvoker.With Method

With(InvokerOptions)

Gets an IIndexerInvoker for the same index and target but with different options.

Declaration
IIndexerInvoker With(InvokerOptions options)
Parameters
Type Name Description
InvokerOptions options
Returns
Type Description
IIndexerInvoker

With(Object, InvokerOptions)

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

Declaration
IIndexerInvoker With(dynamic target, InvokerOptions options)
Parameters
Type Name Description
System.Object target
InvokerOptions options
Returns
Type Description
IIndexerInvoker