Class QueryableImageVaultBase<T, TProvider>
Implements
Inherited Members
Namespace: ImageVault.Client.Query
Assembly: ImageVault.Client.dll
Syntax
public abstract class QueryableImageVaultBase<T, TProvider> : IEnumerable<T>, IEnumerable where TProvider : IClientQueryProvider, new()
Type Parameters
| Name | Description |
|---|---|
| T | |
| TProvider |
Constructors
QueryableImageVaultBase(IClient)
Initializes a new instance of the QueryableMediaItem class.
Declaration
protected QueryableImageVaultBase(IClient client)
Parameters
| Type | Name | Description |
|---|---|---|
| IClient | client |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | If |
QueryableImageVaultBase(IClient, TProvider, Expression)
Initializes a new instance of the QueryableMediaItem<T> class.
Declaration
protected QueryableImageVaultBase(IClient client, TProvider provider, Expression expression)
Parameters
| Type | Name | Description |
|---|---|---|
| IClient | client | |
| TProvider | provider | |
| System.Linq.Expressions.Expression | expression |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | If |
| System.ArgumentOutOfRangeException | If |
Properties
Client
Get/Sets the Client of the QueryableMediaItem
Declaration
public IClient Client { get; }
Property Value
| Type | Description |
|---|---|
| IClient |
ElementType
Gets the type of the element(s) that are returned when the expression tree associated with this instance of System.Linq.IQueryable is executed.
Declaration
public Type ElementType { get; }
Property Value
| Type | Description |
|---|---|
| System.Type |
Expression
Gets the expression tree that is associated with the instance of System.Linq.IQueryable.
Declaration
public Expression Expression { get; }
Property Value
| Type | Description |
|---|---|
| System.Linq.Expressions.Expression |
Provider
Gets the query provider that is associated with this data source.
Declaration
public IQueryProvider Provider { get; }
Property Value
| Type | Description |
|---|---|
| System.Linq.IQueryProvider |
Methods
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<T> GetEnumerator()
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerator<T> | A System.Collections.Generic.IEnumerator<T> that can be used to iterate through the collection. |
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Returns an enumerator that iterates through a collection.
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
| Type | Description |
|---|---|
| System.Collections.IEnumerator | An System.Collections.IEnumerator object that can be used to iterate through the collection. |