public ApnsBufferedNotificationChannel( IApnsNotificationFormatter[] pushNotificationFormatters, IApnsBrokerDispatcher apnsBrokerDispatcher) { this.pushNotificationFormatters = pushNotificationFormatters; this.apnsBrokerDispatcher = apnsBrokerDispatcher; }
public ApnsBufferedNotificationChannelTests() { pushNotificationFormatters = new[] { Substitute.For <IApnsNotificationFormatter>(), Substitute.For <IApnsNotificationFormatter>() }; apnsBrokerDispatcher = Substitute.For <IApnsBrokerDispatcher>(); sut = new ApnsBufferedNotificationChannel(pushNotificationFormatters, apnsBrokerDispatcher); }
public ExternalApnsNotificationCommandHandler(IRepository repository, IApnsBrokerDispatcher apnsBrokerDispatcher) { this.repository = repository; this.apnsBrokerDispatcher = apnsBrokerDispatcher; }