C# 클래스 Decision.Common.OpenGraph.ObjectTypes.Facebook.OpenGraphResterauntMenuItem

This object type represents a single item on a restaurant's menu. Every item belongs within a menu section. 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_item/
상속: OpenGraphMetadata
파일 보기 프로젝트 열기: rabbal/Decision

공개 메소드들

메소드 설명
OpenGraphResterauntMenuItem ( string title, OpenGraphImage image, string sectionUrl, string url = null ) : System

Initializes a new instance of the OpenGraphResterauntMenuItem class.

ToString ( StringBuilder stringBuilder ) : void

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

메소드 상세

OpenGraphResterauntMenuItem() 공개 메소드

Initializes a new instance of the OpenGraphResterauntMenuItem class.
location is null.
public OpenGraphResterauntMenuItem ( string title, OpenGraphImage image, string sectionUrl, 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.
sectionUrl string The URL to the page about the section this menu item is from. 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