With(InvokerOptions)
Gets an IEventInvoker for the same event and target but with different options.
Declaration
IEventInvoker With(InvokerOptions options)
Parameters
Type | Name | Description |
---|---|---|
InvokerOptions | options |
Returns
Type | Description |
---|---|
IEventInvoker |
With(dynamic?, InvokerOptions)
Gets an IEventInvoker for the same event but with a different target instance and optionally different options.
Declaration
IEventInvoker With(dynamic? target, InvokerOptions options = InvokerOptions.Default)
Parameters
Type | Name | Description |
---|---|---|
dynamic | target | The run-time expression that represents the target instance of the method. This expression cannot be |
InvokerOptions | options |
Returns
Type | Description |
---|---|
IEventInvoker |