MetalamaAPI documentationAspect APIMetalama.​Framework.​Code.​InvokersIField­Or­Property­InvokerWith
Open sandboxFocus

IFieldOrPropertyInvoker.With Method

With(InvokerOptions)

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

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

With(Object, InvokerOptions)

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

Declaration
IFieldOrPropertyInvoker With(dynamic target, InvokerOptions options)
Parameters
Type Name Description
Object target
InvokerOptions options
Returns
Type Description
IFieldOrPropertyInvoker