Пример #1
0
 public CategoryService(
     IActionsContextFactory actionSessionFactory,
     IBus bus)
 {
     this.actionSessionFactory = actionSessionFactory;
     Bus = bus;
 }
Пример #2
0
 public AddressService(
     IUsersContextFactory usersSessionFactory,
     Func <INoSqlSession> mongoDbSessionFactory,
     IActionsContextFactory actionSessionFactory,
     IBus bus)
 {
     this.usersSessionFactory  = usersSessionFactory;
     this.noSqlSessionFactory  = mongoDbSessionFactory;
     this.actionSessionFactory = actionSessionFactory;
     this.bus = bus;
 }
Пример #3
0
 public ProjectService(
     IActionsContextFactory actionSessionFactory,
     Func <INoSqlSession> noSqlSessionFactory,
     IUsersContextFactory userSessionFactory,
     ICache cache,
     IBus bus)
 {
     this.noSqlSessionFactory  = noSqlSessionFactory;
     this.actionSessionFactory = actionSessionFactory;
     this.userSessionFactory   = userSessionFactory;
     this.bus   = bus;
     this.cache = cache;
 }
Пример #4
0
 public SponsorService(
     IUsersContextFactory usersSessionFactory,
     Func <INoSqlSession> mongoDbSessionFactory,
     IActionsContextFactory actionSessionFactory,
     OrganizationService organizationService,
     ICache cache,
     IBus bus,
     ILogger logger)
 {
     this.usersSessionFactory  = usersSessionFactory;
     this.noSqlSessionFactory  = mongoDbSessionFactory;
     this.actionSessionFactory = actionSessionFactory;
     this.organizationService  = organizationService;
     this.cache  = cache;
     this.bus    = bus;
     this.logger = logger;
 }
Пример #5
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;
 }
Пример #6
0
 public NewsLetterNotification(IMailSender mailSender, ILogger logger, IActionsContextFactory context, IUsersContextFactory usersContextFactory)
     : base(mailSender, logger, context, usersContextFactory)
 {
 }
Пример #7
0
 public UserConfirmedNotification(IMailSender mailSender, ILogger logger, IActionsContextFactory context, IUsersContextFactory usersContextFactory)
     : base(mailSender, logger, context, usersContextFactory)
 {
     IncludeUnsubscribe = false;
 }
Пример #8
0
 public ChangePasswordNotification(IMailSender mailSender, ILogger logger, IActionsContextFactory context, IUsersContextFactory usersContextFactory)
     : base(mailSender, logger, context, usersContextFactory)
 {
 }
Пример #9
0
 public ObjectCreatedNotification(IMailSender mailSender, ILogger logger, IActionsContextFactory context, IUsersContextFactory usersContextFactory)
     : base(mailSender, logger, context, usersContextFactory)
 {
     IncludeUnsubscribe = true;
 }
Пример #10
0
 public NotificationTaskServiceBase(IMailSender mailSender, ILogger logger, IActionsContextFactory actionsContextFactory, IUsersContextFactory usersContextFactory)
     : base(mailSender, null, logger)
 {
     this.actionsContextFactory = actionsContextFactory;
     this.usersContextFactory   = usersContextFactory;
 }
Пример #11
0
 public PrivateMessage(IMailSender mailSender, ILogger logger, IActionsContextFactory context, IUsersContextFactory usersContextFactory)
     : base(mailSender, logger, context, usersContextFactory)
 {
 }