Esempio n. 1
0
 public NotificationService(IRepository repository, ITokenisedHttpClientFactory tokenisedHttpClientFactory, ISubscriptionService subscriptionService, IAppSetting setting)
 {
     _tokenisedHttpClientFactory = tokenisedHttpClientFactory;
     _repository          = repository;
     _setting             = setting;
     _subscriptionService = subscriptionService;
 }
 public SubscriptionService(IAppSetting appSetting, TimeSpan subscriptionLength, ITokenisedHttpClientFactory tokenisedHttpClientFactory)
 {
     _tokenisedHttpClientFactory = tokenisedHttpClientFactory;
     _appSetting         = appSetting;
     _subscriptionLength = subscriptionLength;
 }