public QueryExpressionVisitor(MethodProcessor methodProcessor)
        {
            if (methodProcessor is null)
            {
                throw new ArgumentNullException(nameof(methodProcessor));
            }

            _methodProcessor = methodProcessor;
        }
        public AsyncQueryProvider(QueryAdapterBase queryAdapter, MethodProcessor methodProcessor)
        {
            if (queryAdapter is null)
            {
                throw new ArgumentNullException(nameof(queryAdapter));
            }

            if (methodProcessor is null)
            {
                throw new ArgumentNullException(nameof(methodProcessor));
            }

            QueryAdapter     = queryAdapter;
            _methodProcessor = methodProcessor;
        }
コード例 #3
0
 public static AsyncQueryable <T> Create <T>(QueryAdapterBase queryAdapter, MethodProcessor methodProcessor)
 {
     return(new AsyncQueryable <T>(queryAdapter, methodProcessor));
 }