public DirectoryQuery(QueryProvider provider, Expression expression) { _provider = provider ?? throw new ArgumentNullException("provider"); _expression = expression ?? throw new ArgumentNullException("expression"); }
public DirectoryQuery(QueryProvider provider) { _provider = provider ?? throw new ArgumentNullException("provider"); _expression = Expression.Constant(this); }