コード例 #1
0
 public DefaultRepositoryCachePolicy(IRuntimeCacheProvider cache, RepositoryCachePolicyOptions options)
     : base(cache)
 {
     if (options == null)
     {
         throw new ArgumentNullException("options");
     }
     _options = options;
 }
コード例 #2
0
 public DefaultRepositoryCachePolicy(IAppPolicyCache cache, IScopeAccessor scopeAccessor, RepositoryCachePolicyOptions options)
     : base(cache, scopeAccessor)
 {
     _options = options ?? throw new ArgumentNullException(nameof(options));
 }
コード例 #3
0
 public SingleItemsOnlyRepositoryCachePolicy(IRuntimeCacheProvider cache, IScopeAccessor scopeAccessor, RepositoryCachePolicyOptions options)
     : base(cache, scopeAccessor, options)
 {
 }
 public SingleItemsOnlyRepositoryCachePolicy(IAppPolicyCache cache, IScopeAccessor scopeAccessor, RepositoryCachePolicyOptions options)
     : base(cache, scopeAccessor, options)
 {
 }
コード例 #5
0
 public SingleItemsOnlyRepositoryCachePolicy(IRuntimeCacheProvider cache, RepositoryCachePolicyOptions options)
     : base(cache, options)
 {
 }