Class MediaItemExpressionParser<T>
Inheritance
System.Object
MediaItemExpressionParser<T>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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()
Initializes a new instance of the MediaItemExpressionParser<T> class.
Declaration
public MediaItemExpressionParser()
Exceptions
Type | Condition |
---|---|
InvalidQueryException | If where(custom) cannot be null or empty or if invalid MediaItemState or if unknown condition . |
Properties
CachePolicy
Gets the ClientCachePolicy of the CachedIVExpressionParser
Declaration
protected override ClientCachePolicy CachePolicy { get; }
Property Value
Type | Description |
---|---|
ClientCachePolicy |
Overrides
ImageVault.Client.Query.Parser.CachedIvExpressionParser<T, ImageVault.Client.Query.Parser.MediaItemQuery, ImageVault.Client.Query.Parser.MediaItemFilter>.CachePolicy
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. |