Ejemplo n.º 1
0
 public ApnsBufferedNotificationChannel(
     IApnsNotificationFormatter[] pushNotificationFormatters,
     IApnsBrokerDispatcher apnsBrokerDispatcher)
 {
     this.pushNotificationFormatters = pushNotificationFormatters;
     this.apnsBrokerDispatcher       = apnsBrokerDispatcher;
 }
Ejemplo n.º 2
0
        public ApnsBufferedNotificationChannelTests()
        {
            pushNotificationFormatters = new[]
            {
                Substitute.For <IApnsNotificationFormatter>(),
                Substitute.For <IApnsNotificationFormatter>()
            };

            apnsBrokerDispatcher = Substitute.For <IApnsBrokerDispatcher>();

            sut = new ApnsBufferedNotificationChannel(pushNotificationFormatters, apnsBrokerDispatcher);
        }
Ejemplo n.º 3
0
 public ExternalApnsNotificationCommandHandler(IRepository repository,
                                               IApnsBrokerDispatcher apnsBrokerDispatcher)
 {
     this.repository           = repository;
     this.apnsBrokerDispatcher = apnsBrokerDispatcher;
 }