Esempio n. 1
0
 public CategoryService(
     IActionsContextFactory actionSessionFactory,
     IBus bus)
 {
     this.actionSessionFactory = actionSessionFactory;
     Bus = bus;
 }
Esempio n. 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;
 }
Esempio n. 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;
 }
Esempio n. 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;
 }
Esempio n. 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;
 }
Esempio n. 6
0
 public NewsLetterNotification(IMailSender mailSender, ILogger logger, IActionsContextFactory context, IUsersContextFactory usersContextFactory)
     : base(mailSender, logger, context, usersContextFactory)
 {
 }
Esempio n. 7
0
 public UserConfirmedNotification(IMailSender mailSender, ILogger logger, IActionsContextFactory context, IUsersContextFactory usersContextFactory)
     : base(mailSender, logger, context, usersContextFactory)
 {
     IncludeUnsubscribe = false;
 }
Esempio n. 8
0
 public ChangePasswordNotification(IMailSender mailSender, ILogger logger, IActionsContextFactory context, IUsersContextFactory usersContextFactory)
     : base(mailSender, logger, context, usersContextFactory)
 {
 }
Esempio n. 9
0
 public ObjectCreatedNotification(IMailSender mailSender, ILogger logger, IActionsContextFactory context, IUsersContextFactory usersContextFactory)
     : base(mailSender, logger, context, usersContextFactory)
 {
     IncludeUnsubscribe = true;
 }
Esempio n. 10
0
 public NotificationTaskServiceBase(IMailSender mailSender, ILogger logger, IActionsContextFactory actionsContextFactory, IUsersContextFactory usersContextFactory)
     : base(mailSender, null, logger)
 {
     this.actionsContextFactory = actionsContextFactory;
     this.usersContextFactory   = usersContextFactory;
 }
Esempio n. 11
0
 public PrivateMessage(IMailSender mailSender, ILogger logger, IActionsContextFactory context, IUsersContextFactory usersContextFactory)
     : base(mailSender, logger, context, usersContextFactory)
 {
 }