Example #1
0
 public FileProvider(
     IOptions <ABBOptions> options,
     IUniqueKeyProvider keyProvider,
     StringReplacer stringReplacer,
     ICacheManager cacheManager
     )
 {
     _options        = options.Value;
     _keyProvider    = keyProvider;
     _stringReplacer = stringReplacer;
     _cacheManager   = cacheManager;
 }
Example #2
0
 public UniqueKeyProvider(IOptions <ABBOptions> options, ICacheManager cache)
 {
     _cache   = cache;
     _options = options.Value ??
                throw new Exception("Define ABBOptions");
 }
Example #3
0
 public HtmlReplacer(IOptions <ABBOptions> options, StringReplacer stringReplacer)
 {
     _options        = options.Value;
     _stringReplacer = stringReplacer;
 }