Class MediaItemTypeDescriptorFactory
This factory is responsible for retrieving MediaItemType descriptors
Inheritance
System.Object
MediaItemTypeDescriptorFactory
Namespace: ImageVault.Client.Descriptors
Assembly: ImageVault.Client.dll
Syntax
public static class MediaItemTypeDescriptorFactory : Object
Methods
ClearCache()
Clears all cached entries
Declaration
public static void ClearCache()
GetDescriptor(IClient, Type, Boolean)
Gets a descriptor for the supplied type
Declaration
public static MediaItemTypeDescriptor GetDescriptor(IClient client, Type type, bool refresh = false)
Parameters
Type | Name | Description |
---|---|---|
IClient | client | |
System.Type | type | |
System.Boolean | refresh | True if the cached value should be refreshed, default is false. |
Returns
Type | Description |
---|---|
MediaItemTypeDescriptor |