Esempio n. 1
0
 public EventoNotificationManager(IPushNotifier notifier, IUserProfileClient userProfileClient)
 {
     this.notifier          = notifier;
     this.userProfileClient = userProfileClient;
 }
 public PushNotificationTaskQueue(IPushNotifier notifier)
 {
     this._notifier = notifier;
 }
Esempio n. 3
0
 public DefaultNotificationManager()
 {
     this.notifier = new GCMNotifier();
 }
Esempio n. 4
0
 public VoteController(IPushNotifier pushNotifier)
 {
     _pushNotifier = pushNotifier ?? throw new ArgumentNullException(nameof(pushNotifier));
 }
 public NotificationTaskManager(NotificationContainer UserData)
     : base(UserData)
 {
     this.notifier = new GCMNotifier();
 }
Esempio n. 6
0
    public static bool NotifyPush(this IPushNotifier obj)
    {
        var sender = new SendEmail();

        return(sender.Send(obj));
    }
Esempio n. 7
0
 public PushRealTimeNotifier(UserManager userManager, IRepository <Person, Guid> personRepository, IRepository <NotificationTemplate, Guid> templateRepository, IRepository <NotificationMessage, Guid> notificationMessageRepository, IUnitOfWorkManager uowManager, IRepository <Notification, Guid> notificationRepository, IPushNotifier pushNotifier) : base(userManager, personRepository, templateRepository, notificationMessageRepository, uowManager, notificationRepository)
 {
     _pushNotifier = pushNotifier;
 }
Esempio n. 8
0
 public MobileLocationProvider(IPushNotifier pushNotifier)
 {
     _pushNotifier = pushNotifier;
 }