C# Класс EventsZilla.Core.ContentHelpers

Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

CompiledContent() публичный статический Метод

public static CompiledContent ( this contentItem, bool trustContent = false ) : System.Web.Mvc.MvcHtmlString
contentItem this
trustContent bool
Результат System.Web.Mvc.MvcHtmlString

CompiledMarkdownContent() публичный статический Метод

public static CompiledMarkdownContent ( this str, bool trustContent = false ) : System.Web.Mvc.MvcHtmlString
str this
trustContent bool
Результат System.Web.Mvc.MvcHtmlString

FullContentPageId() публичный статический Метод

public static FullContentPageId ( string slug ) : string
slug string
Результат string

Html5EventDateTimeTag() публичный статический Метод

public static Html5EventDateTimeTag ( this html, DateTimeOffset timestamp ) : System.Web.Mvc.MvcHtmlString
html this
timestamp DateTimeOffset
Результат System.Web.Mvc.MvcHtmlString

Html5EventDateTimeTag() публичный статический Метод

public static Html5EventDateTimeTag ( this html, DateTimeOffset beginsAt, DateTimeOffset endsAt ) : System.Web.Mvc.MvcHtmlString
html this
beginsAt DateTimeOffset
endsAt DateTimeOffset
Результат System.Web.Mvc.MvcHtmlString

ImageFromStatic() публичный статический Метод

public static ImageFromStatic ( this url, string imagePath ) : string
url this
imagePath string
Результат string

ScriptFromStatic() публичный статический Метод

public static ScriptFromStatic ( this url, string scriptName ) : string
url this
scriptName string
Результат string

StyleFromStatic() публичный статический Метод

public static StyleFromStatic ( this url, string stylesheetName ) : string
url this
stylesheetName string
Результат string