Search Results for

    Show / Hide Table of Contents

    Interface IMediaRenderer

    Defines a renderer for media

    Namespace: ImageVault.Common.Html
    Assembly: ImageVault.Common.dll
    Syntax
    public interface IMediaRenderer

    Properties

    Id

    Gets the id of the renderer

    Declaration
    string Id { get; }
    Property Value
    Type Description
    System.String

    Methods

    GetResourceList()

    Gets a list of Resources needed for the renderer to work on a html page

    Declaration
    IList<RenderResource> GetResourceList()
    Returns
    Type Description
    System.Collections.Generic.IList<RenderResource>

    Render(RenderContext)

    Renders the supplied media

    Declaration
    string Render(RenderContext context)
    Parameters
    Type Name Description
    RenderContext context

    Context to use when rendering the html

    Returns
    Type Description
    System.String

    Extension Methods

    EnumExtensions.GetNames<TEnum>(TEnum)
    In This Article
    Back to top (c) Meriworks 2002-2022