C# Class EventsZilla.Core.ContentHelpers

Exibir arquivo Open project: synhershko/EventsZilla

Public Methods

Method Description
CompiledContent ( this contentItem, bool trustContent = false ) : System.Web.Mvc.MvcHtmlString
CompiledMarkdownContent ( this str, bool trustContent = false ) : System.Web.Mvc.MvcHtmlString
FullContentPageId ( string slug ) : string
Html5EventDateTimeTag ( this html, DateTimeOffset timestamp ) : System.Web.Mvc.MvcHtmlString
Html5EventDateTimeTag ( this html, DateTimeOffset beginsAt, DateTimeOffset endsAt ) : System.Web.Mvc.MvcHtmlString
ImageFromStatic ( this url, string imagePath ) : string
ScriptFromStatic ( this url, string scriptName ) : string
StyleFromStatic ( this url, string stylesheetName ) : string

Method Details

CompiledContent() public static method

public static CompiledContent ( this contentItem, bool trustContent = false ) : System.Web.Mvc.MvcHtmlString
contentItem this
trustContent bool
return System.Web.Mvc.MvcHtmlString

CompiledMarkdownContent() public static method

public static CompiledMarkdownContent ( this str, bool trustContent = false ) : System.Web.Mvc.MvcHtmlString
str this
trustContent bool
return System.Web.Mvc.MvcHtmlString

FullContentPageId() public static method

public static FullContentPageId ( string slug ) : string
slug string
return string

Html5EventDateTimeTag() public static method

public static Html5EventDateTimeTag ( this html, DateTimeOffset timestamp ) : System.Web.Mvc.MvcHtmlString
html this
timestamp DateTimeOffset
return System.Web.Mvc.MvcHtmlString

Html5EventDateTimeTag() public static method

public static Html5EventDateTimeTag ( this html, DateTimeOffset beginsAt, DateTimeOffset endsAt ) : System.Web.Mvc.MvcHtmlString
html this
beginsAt DateTimeOffset
endsAt DateTimeOffset
return System.Web.Mvc.MvcHtmlString

ImageFromStatic() public static method

public static ImageFromStatic ( this url, string imagePath ) : string
url this
imagePath string
return string

ScriptFromStatic() public static method

public static ScriptFromStatic ( this url, string scriptName ) : string
url this
scriptName string
return string

StyleFromStatic() public static method

public static StyleFromStatic ( this url, string stylesheetName ) : string
url this
stylesheetName string
return string