/// <summary> /// Initializes a new instance of the <see cref="RemoteLinqAsyncQueryable"/> class. /// </summary> public RemoteLinqAsyncQueryable(Type elementType, IRemoteLinqAsyncQueryProvider provider, Expression?expression) { ElementType = elementType.CheckNotNull(nameof(elementType)); Provider = provider.CheckNotNull(nameof(provider)); Expression = expression ?? Expression.Constant(this); }
/// <summary> /// Initializes a new instance of the <see cref="RemoteLinqAsyncQueryable{T}"/> class. /// </summary> public RemoteLinqAsyncQueryable(IRemoteLinqAsyncQueryProvider provider, Expression?expression = null) : base(typeof(T), provider, expression) { }