Class MediaExpressionParser<TMedia, TMediaFormat>
expression parser for media queries
Inheritance
System.Object
MediaExpressionParser<TMedia, TMediaFormat>
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 MediaExpressionParser<TMedia, TMediaFormat> : CachedIvExpressionParser<TMedia, MediaQuery<TMediaFormat>, MediaFilter<TMediaFormat>>, IIvExpressionParser<MediaQuery<TMediaFormat>>, IIvExpressionParser where TMedia : Media where TMediaFormat : MediaFormatBase, new()
Type Parameters
Name | Description |
---|---|
TMedia | |
TMediaFormat |
Constructors
MediaExpressionParser()
Initializes a new instance of the WebMediaExpressionParser class.
Declaration
public MediaExpressionParser()
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<TMedia, ImageVault.Client.Query.Parser.MediaQuery<TMediaFormat>, ImageVault.Client.Query.Parser.MediaFilter<TMediaFormat>>.CachePolicy
Methods
ConstructCacheKey(Type)
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<TMedia, ImageVault.Client.Query.Parser.MediaQuery<TMediaFormat>, ImageVault.Client.Query.Parser.MediaFilter<TMediaFormat>>.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<TMedia, ImageVault.Client.Query.Parser.MediaQuery<TMediaFormat>, ImageVault.Client.Query.Parser.MediaFilter<TMediaFormat>>.GetNotCachedResultFromServer(System.Type)
Exceptions
Type | Condition |
---|---|
System.ApplicationException | If cannot instance type . |