Class ImageRenderer
Inheritance
System.Object
ImageRenderer
Implements
Namespace: ImageVault.Common.Html
Assembly: ImageVault.Common.dll
Syntax
public class ImageRenderer : Object, IMediaRenderer
Constructors
ImageRenderer()
Declaration
public ImageRenderer()
Fields
RendererId
Declaration
public const string RendererId = "F8C54BCD-3B8C-4C63-B6C7-302FA9BA8765"
Field Value
Type | Description |
---|---|
System.String |
Properties
Id
Gets the id of the renderer
Declaration
public 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
public IList<RenderResource> GetResourceList()
Returns
Type | Description |
---|---|
System.Collections.Generic.IList<RenderResource> |
Render(RenderContext)
Renders the supplied media
Declaration
public string Render(RenderContext context)
Parameters
Type | Name | Description |
---|---|---|
RenderContext | context | Context to use when rendering the html |
Returns
Type | Description |
---|---|
System.String |