/// <summary> /// Initalizes an instance of <see cref="CommandForProxyInterceptor"/> /// </summary> public CommandForProxyInterceptor( ICanHandleInvocationsFor <System.Windows.Input.ICommand, CommandInvocationHandler> commandInvocation, ICanHandleInvocationsFor <INotifyDataErrorInfo, CommandNotifyDataErrorInfoHandler> commandNotifyDataErrorInfo, ICanHandleInvocationsFor <ICommandProcess, CommandProcessHandler> commandProcess) { AddHandler(commandInvocation); AddHandler(commandNotifyDataErrorInfo); AddHandler(commandProcess); }
/// <summary> /// Initalizes an instance of <see cref="CommandForProxyInterceptor"/> /// </summary> public CommandForProxyInterceptor( ICanHandleInvocationsFor<System.Windows.Input.ICommand, CommandInvocationHandler> commandInvocation, ICanHandleInvocationsFor<INotifyDataErrorInfo, CommandNotifyDataErrorInfoHandler> commandNotifyDataErrorInfo, ICanHandleInvocationsFor<ICommandProcess, CommandProcessHandler> commandProcess) { AddHandler(commandInvocation); AddHandler(commandNotifyDataErrorInfo); AddHandler(commandProcess); }