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

This object type represents a restaurant at a specific location. 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.restaurant/
Наследование: OpenGraphMetadata
Показать файл Открыть проект

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

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

Initializes a new instance of the OpenGraphRestaurant class.

ToString ( StringBuilder stringBuilder ) : void

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

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

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

Initializes a new instance of the OpenGraphRestaurant class.
location is null.
public OpenGraphRestaurant ( string title, OpenGraphImage image, OpenGraphLocation location, 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.
location Decision.Common.OpenGraph.Structs.OpenGraphLocation The location of the business.
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