예제 #1
0
 public CacheHandler(IMessageContext messageContext,
                     ILogger <CacheHandler> logger,
                     ICachedListsProvider cache,
                     IListsGateway listsGateway,
                     IFileSystem fileSystem,
                     IOptions <FileBasedCachedListsOptions> options)
 {
     this.messageContext = messageContext;
     this.logger         = logger;
     this.cache          = cache;
     this.listsGateway   = listsGateway;
     this.fileSystem     = fileSystem;
     this.options        = options.Value;
 }
예제 #2
0
 public ListsProvider(ICachedListsProvider cache)
 {
     this.cache = cache;
 }
예제 #3
0
 public SubmissionDynamicsCustomActionHandler(CRMWebAPI api, ILogger <SubmissionDynamicsCustomActionHandler> logger, ICachedListsProvider cachedListsProvider)
 {
     this.api    = api;
     this.logger = logger;
     this.cachedListsProvider = cachedListsProvider;
 }