Class MediaItemExpressionParser<T>
Inheritance
System.Object
MediaItemExpressionParser<T>
Inherited Members
Namespace: ImageVault.Client.Query.Parser
Assembly: ImageVault.Client.dll
Syntax
public class MediaItemExpressionParser<T> : CachedIvExpressionParser<T, MediaItemQuery, MediaItemFilter>, IIvExpressionParser<MediaItemQuery>, IIvExpressionParser where T : MediaItem
Type Parameters
Name | Description |
---|---|
T |
Constructors
MediaItemExpressionParser(ImageVaultClientOptions, IObjectCache)
Initializes a new instance of the MediaItemExpressionParser<T> class.
Declaration
public MediaItemExpressionParser(ImageVaultClientOptions options, IObjectCache objectCache)
Parameters
Type | Name | Description |
---|---|---|
ImageVaultClientOptions | options | |
IObjectCache | objectCache |
Exceptions
Type | Condition |
---|---|
InvalidQueryException | If where(custom) cannot be null or empty or if invalid MediaItemState or if unknown condition . |
Methods
ConstructCacheKey(Type)
Constructs a cache key for the supplied data
Declaration
protected override string ConstructCacheKey(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type |
Returns
Type | Description |
---|---|
System.String |
Overrides
ImageVault.Client.Query.Parser.CachedIvExpressionParser<T, ImageVault.Client.Query.Parser.MediaItemQuery, ImageVault.Client.Query.Parser.MediaItemFilter>.ConstructCacheKey(System.Type)
GetNotCachedResultFromServer(Type)
Declaration
protected override IQueryable GetNotCachedResultFromServer(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type |
Returns
Type | Description |
---|---|
System.Linq.IQueryable |
Overrides
ImageVault.Client.Query.Parser.CachedIvExpressionParser<T, ImageVault.Client.Query.Parser.MediaItemQuery, ImageVault.Client.Query.Parser.MediaItemFilter>.GetNotCachedResultFromServer(System.Type)
Exceptions
Type | Condition |
---|---|
InvalidQueryException | If cannot execute query on an non Client client. |