Example #1
0
 public CustomerLedgerReportProcessor(
     ICompanyQueryProcessor companyQueryProcessor,
     ICustomerLedgerProcessor customerLedgerProcessor
     )
 {
     this.companyQueryProcessor   = companyQueryProcessor;
     this.customerLedgerProcessor = customerLedgerProcessor;
 }
Example #2
0
 /// <summary>
 /// constructor
 /// </summary>
 public CustomerLedgerController(
     ICustomerLedgerProcessor customerLedgerProcessor,
     IHubContext <ProgressHub> hubContext
     )
 {
     this.customerLedgerProcessor = customerLedgerProcessor;
     this.hubContext = hubContext;
 }
Example #3
0
        /// <summary>
        /// constructor
        /// </summary>
        public CustomerLedgerController(
            ICustomerLedgerProcessor customerLedgerProcessor
            )
        {
            this.customerLedgerProcessor = customerLedgerProcessor;

            this.hubContext = Microsoft.AspNet.SignalR.GlobalHost.ConnectionManager.GetHubContext <Hubs.ProgressHub>();
        }
Example #4
0
 public CustomerLedgerService(
     IAuthorizationProcessor authorizationProcessor,
     ICustomerLedgerProcessor customerLedgerProcessor,
     ILogManager logManager)
 {
     this.authorizationProcessor  = authorizationProcessor;
     this.customerLedgerProcessor = customerLedgerProcessor;
     logger     = logManager.GetLogger(typeof(CustomerLedgerService));
     hubContext = GlobalHost.ConnectionManager.GetHubContext <Hubs.ProgressHub>();
 }