public DispatchTestHelper()
        {
            _mm1 = Dispatcher.Action<A>(this.MM1);
            _mm2 = Dispatcher.Action<A, A>(this.MM2);
            _mm3 = Dispatcher.Action<A, A, A>(this.MM3);
            _mm4 = Dispatcher.Action<A, A, A, A>(this.MM4);

            _ff1 = Dispatcher.Func<A, string>(this.FF1);
            _ff2 = Dispatcher.Func<A, A, string>(this.FF2);
            _ff3 = Dispatcher.Func<A, A, A, string>(this.FF3);
            _ff4 = Dispatcher.Func<A, A, A, A, string>(this.FF4);
        }
Exemple #2
0
 public PaymentService()
 {
     _authorize = Dispatcher.Action <IPayment, IBillingRule>(this.Authorize);
 }
 public PaymentService()
 {
     _authorize = Dispatcher.Action<IPayment, IBillingRule>(this.Authorize);
 }