Exemple #1
0
 public QueryCacherInterceptor(QueryExecutionDelegate next, ICache cache, QueryCachingOptions options)
 {
     _next    = next ?? throw new ArgumentNullException(nameof(next));
     Cache    = cache ?? throw new ArgumentNullException(nameof(cache));
     _options = options ?? throw new ArgumentNullException(nameof(options));
 }
Exemple #2
0
 public QueryDataAnnotationsValidatorInterceptor(QueryExecutionDelegate next)
 {
     _next = next ?? throw new ArgumentNullException(nameof(next));
 }