Пример #1
0
 public DirectoryQuery(QueryProvider provider, Expression expression)
 {
     _provider   = provider ?? throw new ArgumentNullException("provider");
     _expression = expression ?? throw new ArgumentNullException("expression");
 }
Пример #2
0
 public DirectoryQuery(QueryProvider provider)
 {
     _provider   = provider ?? throw new ArgumentNullException("provider");
     _expression = Expression.Constant(this);
 }