Interface IMediaConverter2
Defines the interface that all converters must implement
Inherited Members
Namespace: ImageVault.Core.Common.Conversion
Assembly: ImageVault.Core.dll
Syntax
[Obsolete("Use IMediaConverter3 or IMediaConverterBase instead")]
public interface IMediaConverter2 : IMediaConverterBase, ICorePlugin
Remarks
2016-09-08 dan: Created
Methods
CalculateContentType(DbMediaContentReference, MediaFormatBase)
Calculates the output content type by the supplied format
Declaration
string CalculateContentType(DbMediaContentReference originalContentReference, MediaFormatBase format)
Parameters
Type | Name | Description |
---|---|---|
DbMediaContentReference | originalContentReference | |
MediaFormatBase | format |
Returns
Type | Description |
---|---|
System.String |
CalculateMediaName(DbMediaContentReference, MediaFormatBase)
Calculates the name of the media for the given conversion
Declaration
string CalculateMediaName(DbMediaContentReference originalContentReference, MediaFormatBase format)
Parameters
Type | Name | Description |
---|---|---|
DbMediaContentReference | originalContentReference | |
MediaFormatBase | format |
Returns
Type | Description |
---|---|
System.String |