C# Класс Decision.Common.OpenGraph.HtmlHelperExtensions

Creates Open Graph meta tags. OpenGraphMetadata for more information.
Показать файл Открыть проект

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

Метод Описание
OpenGraph ( this htmlHelper, OpenGraphMetadata openGraphMetadata ) : IHtmlString

Creates a string containing the Open Graph meta tags (Also used by Facebook). OpenGraphMetadata for more information.

OpenGraphNamespace ( this htmlHelper, OpenGraphMetadata openGraphMetadata ) : IHtmlString

Creates a string representing the Open Graph, Facebook and object namespaces. The namespaces are added to the HTML head element.

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

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

Creates a string containing the Open Graph meta tags (Also used by Facebook). OpenGraphMetadata for more information.
public static OpenGraph ( this htmlHelper, OpenGraphMetadata openGraphMetadata ) : IHtmlString
htmlHelper this The HTML helper.
openGraphMetadata Decision.Common.OpenGraph.ObjectTypes.OpenGraphMetadata The open graph metadata.
Результат IHtmlString

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

Creates a string representing the Open Graph, Facebook and object namespaces. The namespaces are added to the HTML head element.
public static OpenGraphNamespace ( this htmlHelper, OpenGraphMetadata openGraphMetadata ) : IHtmlString
htmlHelper this The HTML helper.
openGraphMetadata Decision.Common.OpenGraph.ObjectTypes.OpenGraphMetadata The open graph metadata.
Результат IHtmlString