/// <summary>
 /// constructor
 /// </summary>
 public CollectionScheduleController(
     ICollectionScheduleProcessor collectionScheduleProcessor,
     IHubContext <ProgressHub> hubContext
     )
 {
     this.collectionScheduleProcessor = collectionScheduleProcessor;
     this.hubContext = hubContext;
 }
 public CollectionScheduleListReportProcessor(
     ICompanyQueryProcessor companyQueryProcessor,
     ICollectionScheduleProcessor collectionScheduleProcessor
     )
 {
     this.companyQueryProcessor       = companyQueryProcessor;
     this.collectionScheduleProcessor = collectionScheduleProcessor;
 }
Example #3
0
        /// <summary>
        /// constructor
        /// </summary>
        public CollectionScheduleController(
            ICollectionScheduleProcessor collectionScheduleProcessor
            )
        {
            this.collectionScheduleProcessor = collectionScheduleProcessor;

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