Ejemplo n.º 1
0
 public NotificationService(ApplicationDbContext context,
                            IDbLogService dbLogService,
                            ISecurityService securityService,
                            IOptions <CranSettingsDto> settingsOption,
                            IWebPushClient webPushClient,
                            ITextService textService,
                            IUserService userService)
 {
     _settings        = settingsOption.Value;
     _webPushClient   = webPushClient;
     _textService     = textService;
     _securityService = securityService;
     _dbContext       = context;
     _userService     = userService;
     _dbLogService    = dbLogService;
 }
Ejemplo n.º 2
0
 public NotificationService(IUserNotificationsRepository repository, IWebPushClient client)
 {
     _repository = repository;
     _client     = client;
 }
Ejemplo n.º 3
0
 public WebPushProviderFactory(IPushConfigurationStore pushConfigurationStore, IWebPushClient webPushClient)
 {
     this.pushConfigurationStore = pushConfigurationStore;
     this.webPushClient          = webPushClient;
 }
Ejemplo n.º 4
0
 public WebPushProvider(PushSubscription pushSubscription,
                        IWebPushClient webPushClient)
 {
     this.pushSubscription = pushSubscription;
     this.webPushClient    = webPushClient;
 }