Class MediaItemTypeDescriptor
Describes a MediaItem Type and what properties it contains.
Inheritance
System.Object
MediaItemTypeDescriptor
Namespace: ImageVault.Client.Descriptors
Assembly: ImageVault.Client.dll
Syntax
public class MediaItemTypeDescriptor : Object
Constructors
MediaItemTypeDescriptor()
Declaration
public MediaItemTypeDescriptor()
Properties
CachedPopulateQuery
Gets a clone of the Cached Populate query.
Declaration
public MediaItemPopulationQuery CachedPopulateQuery { get; }
Property Value
| Type | Description |
|---|---|
| MediaItemPopulationQuery |
MediaFormatMappings
Contains mappings for media formats
Declaration
public IList<MediaFormatMapping> MediaFormatMappings { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<MediaFormatMapping> |
MediaItemAttribute
Contains media item attribute
Declaration
public MediaItemAttribute MediaItemAttribute { get; set; }
Property Value
| Type | Description |
|---|---|
| MediaItemAttribute |
MetadataMappings
Contains mappings for metadata
Declaration
public IList<MetadatMapping> MetadataMappings { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<MetadatMapping> |
Methods
CreatePopulationQueryBase()
Creates a MediaItemPopulationQuery with the common settings from the MediaItemAttribute
Declaration
public MediaItemPopulationQuery CreatePopulationQueryBase()
Returns
| Type | Description |
|---|---|
| MediaItemPopulationQuery |
Populate<T>(IList<MediaItem>, Int32[,])
Declaration
public List<T> Populate<T>(IList<MediaItem> mediaItems, int[, ] itemMediaFormatPropertyIndex)
where T : new()
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.IList<MediaItem> | mediaItems | |
| System.Int32[,] | itemMediaFormatPropertyIndex |
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.List<T> |
Type Parameters
| Name | Description |
|---|---|
| T |