Class MediaFilter<TFormat>
Filter used for media queries
Namespace: ImageVault.Client.Query.Parser
Assembly: ImageVault.Client.dll
Syntax
public class MediaFilter<TFormat> : IVFilter, IIVFilter where TFormat : MediaFormatBase, new()
Type Parameters
Name | Description |
---|---|
TFormat |
Constructors
MediaFilter()
Initializes a new instance of the MediaFilter class.
Declaration
public MediaFilter()
MediaFilter(MediaFilter<TFormat>)
Initializes a new instance of the MediaFilter class.
Declaration
public MediaFilter(MediaFilter<TFormat> filter)
Parameters
Type | Name | Description |
---|---|---|
MediaFilter<TFormat> | filter |
Properties
Format
Get/Sets the Format of the MediaFilter
Declaration
public TFormat Format { get; set; }
Property Value
Type | Description |
---|---|
TFormat |
Id
Gets the Id of the MediaFilter
Declaration
public List<int> Id { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.Int32> |
Items
Defines the items and effects to get.
Declaration
public IList<MediaItemReference> Items { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<MediaItemReference> |
Methods
Clone()
Creates a new object that is a copy of the current instance.
Declaration
public override object Clone()
Returns
Type | Description |
---|---|
System.Object | A new object that is a copy of this instance. |
Overrides
Implements
System.ICloneable