Gets an IEventInvoker for the same event and target but with different options.
Declaration
IEventInvoker With(InvokerOptions options)
Parameters
Returns
Gets an IEventInvoker for the same event but with a different target instance and optionally different options.
Declaration
IEventInvoker With(dynamic target, InvokerOptions options)
Parameters
Type |
Name |
Description |
Object |
target |
The run-time expression that represents the target instance of the method. This expression cannot be dynamic .
If you need to pass a dynamic expression, you have to explicitly cast it to IExpression.
|
InvokerOptions |
options |
|
Returns