Пример #1
0
 /// <summary>
 /// constructor
 /// </summary>
 public MatchingHistoryController(
     IMatchingHistorySearchProcessor matchingHistorySearchProcessor,
     IMatchingOutputedProcessor matchingOutputedProcessor,
     IHubContext <ProgressHub> hubContext
     )
 {
     this.matchingHistorySearchProcessor = matchingHistorySearchProcessor;
     this.matchingOutputedProcessor      = matchingOutputedProcessor;
     this.hubContext = hubContext;
 }
Пример #2
0
        /// <summary>
        /// constructor
        /// </summary>
        public MatchingHistoryController(
            IMatchingHistorySearchProcessor matchingHistorySearchProcessor,
            IMatchingOutputedProcessor matchingOutputedProcessor
            )
        {
            this.matchingHistorySearchProcessor = matchingHistorySearchProcessor;
            this.matchingOutputedProcessor      = matchingOutputedProcessor;

            this.hubContext = Microsoft.AspNet.SignalR.GlobalHost.ConnectionManager.GetHubContext <Hubs.ProgressHub>();
        }
Пример #3
0
 public MatchingHistoryService(
     IAuthorizationProcessor authorizationProcessor,
     IMatchingHistorySearchProcessor matchingHistorySearchProcessor,
     IMatchingOutputedProcessor matchingOutputedProcessor,
     ILogManager logManager)
 {
     this.authorizationProcessor         = authorizationProcessor;
     this.matchingHistorySearchProcessor = matchingHistorySearchProcessor;
     this.matchingOutputedProcessor      = matchingOutputedProcessor;
     logger     = logManager.GetLogger(typeof(MatchingHistoryService));
     hubContext = GlobalHost.ConnectionManager.GetHubContext <Hubs.ProgressHub>();
 }