Beispiel #1
0
 // TODO: test all of these!
 public Broker(ITimeFormattingService timeFormattingService, IForumRepository forumRepo, IHubContext <TopicsHub> topicHubContext, IHubContext <FeedHub> feedHubContext, IHubContext <ForumsHub> forumsHubContext, IHubContext <RecentHub> recentHubContext)
 {
     _timeFormattingService = timeFormattingService;
     _forumRepo             = forumRepo;
     _topicHubContext       = topicHubContext;
     _feedHubContext        = feedHubContext;
     _forumsHubContext      = forumsHubContext;
     _recentHubContext      = recentHubContext;
 }
Beispiel #2
0
 public TimeController(ITimeFormattingService timeFormattingService, IProfileService profileService, IUserRetrievalShim userRetrievalShim)
 {
     _timeFormattingService = timeFormattingService;
     _profileService        = profileService;
     _userRetrievalShim     = userRetrievalShim;
 }
Beispiel #3
0
 // TODO: test all of these!
 public Broker(ITimeFormattingService timeFormattingService, IForumRepository forumRepo, IConnectionManager connectionManager)
 {
     _timeFormattingService = timeFormattingService;
     _forumRepo             = forumRepo;
     _connectionManager     = connectionManager;
 }
Beispiel #4
0
		protected internal TimeController(ITimeFormattingService timeFormattingService, IProfileService profileService)
		{
			_timeFormattingService = timeFormattingService;
			_profileService = profileService;
		}
Beispiel #5
0
 protected internal TimeController(ITimeFormattingService timeFormattingService, IProfileService profileService)
 {
     _timeFormattingService = timeFormattingService;
     _profileService        = profileService;
 }
Beispiel #6
0
		public Broker(ITimeFormattingService timeFormattingService, IForumRepository forumRepo)
		{
			_timeFormattingService = timeFormattingService;
			_forumRepo = forumRepo;
		}
 public Broker(ITimeFormattingService timeFormattingService, IForumRepository forumRepo)
 {
     _timeFormattingService = timeFormattingService;
     _forumRepo             = forumRepo;
 }