public EventFunctionInterceptionArgsImpl(TInstance instance, EventInfo @event, Func <TResult> handler, IEventFunctionBinding <TInstance, TResult> funcBinding, IEventBroker <Func <TResult> > eventBroker = null) { Event = @event; Handler = handler; EventBroker = eventBroker; this.funcBinding = funcBinding; Instance = this.instance = instance; }
public EventFunctionInterceptionArgsImpl(TInstance instance, EventInfo @event, Func <TArg1, TArg2, TResult> handler, IEventFunctionBinding <TInstance, TArg1, TArg2, TResult> funcBinding, IEventBroker <Func <TArg1, TArg2, TResult> > eventBroker = null, TArg1 arg1 = default(TArg1), TArg2 arg2 = default(TArg2)) { Arg1 = arg1; Arg2 = arg2; Event = @event; Handler = handler; EventBroker = eventBroker; this.funcBinding = funcBinding; Instance = this.instance = instance; }
public EventFunctionInterceptionArgsImpl(TInstance instance, EventInfo @event, Func <TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TResult> handler, IEventFunctionBinding <TInstance, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TResult> funcBinding, IEventBroker <Func <TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TResult> > eventBroker = null, TArg1 arg1 = default(TArg1), TArg2 arg2 = default(TArg2), TArg3 arg3 = default(TArg3), TArg4 arg4 = default(TArg4), TArg5 arg5 = default(TArg5), TArg6 arg6 = default(TArg6)) { Arg1 = arg1; Arg2 = arg2; Arg3 = arg3; Arg4 = arg4; Arg5 = arg5; Arg6 = arg6; Event = @event; Handler = handler; EventBroker = eventBroker; this.funcBinding = funcBinding; Instance = this.instance = instance; }