/// <summary> /// constructor /// </summary> public MatchingHistoryController( IMatchingHistorySearchProcessor matchingHistorySearchProcessor, IMatchingOutputedProcessor matchingOutputedProcessor, IHubContext <ProgressHub> hubContext ) { this.matchingHistorySearchProcessor = matchingHistorySearchProcessor; this.matchingOutputedProcessor = matchingOutputedProcessor; this.hubContext = hubContext; }
/// <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>(); }
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>(); }