Search Results for

    Show / Hide Table of Contents

    Interface IMediaConversionService

    The IMediaConversionService interface

    Namespace: ImageVault.Core.Common.Services
    Assembly: ImageVault.Core.dll
    Syntax
    public interface IMediaConversionService

    Methods

    GetMediaConverter(Type)

    Gets a media converter of the requested type

    Declaration
    IMediaConverterBase GetMediaConverter(Type type)
    Parameters
    Type Name Description
    System.Type type

    The type of converter to get

    Returns
    Type Description
    IMediaConverterBase

    The active convertor or null if no convertor was found.

    MarkContentForRegenerate(String, Int32)

    Parses all original content of the supplied contentType and marks all content references that hasn't the supplied converter for regeneration

    Declaration
    int MarkContentForRegenerate(string originalContentType, int acceptableConverterTypeId)
    Parameters
    Type Name Description
    System.String originalContentType

    The content type of the original media to regenerate conversions for

    System.Int32 acceptableConverterTypeId

    The id of the registered converter that is ok to use

    Returns
    Type Description
    System.Int32

    MarkContentInStorageForRegenerate(Int32)

    Declaration
    int MarkContentInStorageForRegenerate(int storageId)
    Parameters
    Type Name Description
    System.Int32 storageId
    Returns
    Type Description
    System.Int32
    In This Article
    Back to top (c) Meriworks 2002-2022