C# Class EventsZilla.Core.ContentHelpers

Afficher le fichier Open project: synhershko/EventsZilla

Méthodes publiques

Méthode 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 méthode

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

CompiledMarkdownContent() public static méthode

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

FullContentPageId() public static méthode

public static FullContentPageId ( string slug ) : string
slug string
Résultat string

Html5EventDateTimeTag() public static méthode

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

Html5EventDateTimeTag() public static méthode

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

ImageFromStatic() public static méthode

public static ImageFromStatic ( this url, string imagePath ) : string
url this
imagePath string
Résultat string

ScriptFromStatic() public static méthode

public static ScriptFromStatic ( this url, string scriptName ) : string
url this
scriptName string
Résultat string

StyleFromStatic() public static méthode

public static StyleFromStatic ( this url, string stylesheetName ) : string
url this
stylesheetName string
Résultat string