C# Класс Decision.Common.OpenGraph.ObjectTypes.Facebook.OpenGraphProduct

This object type represents a product. This includes both virtual and physical products, but it typically represents items that are available in an online store. This object type is not part of the Open Graph standard but is used by Facebook. See https://developers.facebook.com/docs/reference/opengraph/object-type/product/
Наследование: OpenGraphMetadata
Показать файл Открыть проект

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

Метод Описание
OpenGraphProduct ( string title, OpenGraphImage image, string url = null ) : System

Initializes a new instance of the OpenGraphProduct class.

ToString ( StringBuilder stringBuilder ) : void

Appends a HTML-encoded string representing this instance to the stringBuilder containing the Open Graph meta tags.

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

OpenGraphProduct() публичный Метод

Initializes a new instance of the OpenGraphProduct class.
public OpenGraphProduct ( string title, OpenGraphImage image, string url = null ) : System
title string The title of the object as it should appear in the graph.
image Decision.Common.OpenGraph.Media.OpenGraphImage The default image.
url string The canonical URL of the object, used as its ID in the graph.
Результат System

ToString() публичный Метод

Appends a HTML-encoded string representing this instance to the stringBuilder containing the Open Graph meta tags.
public ToString ( StringBuilder stringBuilder ) : void
stringBuilder StringBuilder The string builder.
Результат void