public SubscriptionController(ISDKHelper sdkHelper,
                               ISubscriptionStore subscriptionStore,
                               IOptions <AppSettings> optionsAccessor)
 {
     this.sdkHelper         = sdkHelper;
     this.subscriptionStore = subscriptionStore;
     appSettings            = optionsAccessor.Value;
 }
 public NotificationController(ISDKHelper sdkHelper,
                               ISubscriptionStore subscriptionStore,
                               IConnectionManager connectionManager,
                               ILogger <NotificationController> logger)
 {
     this.sdkHelper         = sdkHelper;
     this.subscriptionStore = subscriptionStore;
     this.connectionManager = connectionManager;
     this.logger            = logger;
 }
Esempio n. 3
0
 public SubscriptionController(IMemoryCache memoryCache, ISDKHelper sdkHelper)
 {
     this.memoryCache = memoryCache;
     this.sdkHelper   = sdkHelper;
 }
Esempio n. 4
0
 public NotificationController(IMemoryCache memoryCache, ISDKHelper sdkHelper)
 {
     _memoryCache = memoryCache;
     _sdkHelper   = sdkHelper;
 }