コード例 #1
0
ファイル: CommentService.cs プロジェクト: Lietuva2/LT2
 public CommentService(IVotingContextFactory votingSessionFactory, Func <INoSqlSession> noSqlSessionFactory, ILogger logger, IBus bus)
 {
     this.votingSessionFactory = votingSessionFactory;
     this.noSqlSessionFactory  = noSqlSessionFactory;
     this.logger = logger;
     this.bus    = bus;
 }
コード例 #2
0
ファイル: ChatService.cs プロジェクト: Lietuva2/LT2
 public ChatService(
     IUsersContextFactory usersSessionFactory,
     Func <INoSqlSession> mongoDbSessionFactory,
     IVotingContextFactory votingSessionFactory,
     ICache cache)
 {
     this.usersSessionFactory  = usersSessionFactory;
     this.noSqlSessionFactory  = mongoDbSessionFactory;
     this.votingSessionFactory = votingSessionFactory;
     this.cache = cache;
 }
コード例 #3
0
 public NotificationService(
     IActionsContextFactory actionsSessionFactory,
     IUsersContextFactory usersSessionFactory,
     ProjectService projectService,
     OrganizationService organizationService,
     Func <INoSqlSession> noSqlSessionFactory,
     IVotingContextFactory votingSessionFactory,
     ILogger logger)
 {
     this.actionsSessionFactory = actionsSessionFactory;
     this.usersSessionFactory   = usersSessionFactory;
     this.projectService        = projectService;
     this.noSqlSessionFactory   = noSqlSessionFactory;
     this.votingSessionFactory  = votingSessionFactory;
     this.organizationService   = organizationService;
     this.logger = logger;
 }
コード例 #4
0
ファイル: ShortLinkService.cs プロジェクト: Lietuva2/LT2
 public ShortLinkService(
     IVotingContextFactory votingSessionFactory)
 {
     this.votingSessionFactory = votingSessionFactory;
 }