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

This object type represents a restaurant's menu. A restaurant can have multiple menus, and each menu has multiple sections. 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/restaurant.menu/
Наследование: OpenGraphMetadata
Показать файл Открыть проект

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

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

Initializes a new instance of the OpenGraphRestaurantMenu class.

ToString ( StringBuilder stringBuilder ) : void

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

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

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

Initializes a new instance of the OpenGraphRestaurantMenu class.
location is null.
public OpenGraphRestaurantMenu ( string title, OpenGraphImage image, string restaurantUrl, 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.
restaurantUrl string The URL to the page about the restaurant who wrote the menu. This URL must contain profile meta tags .
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