C# Class Decision.Common.OpenGraph.ObjectTypes.Facebook.OpenGraphPlace

This object type represents a place - such as a venue, a business, a landmark, or any other location which can be identified by longitude and latitude. 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/place/
Inheritance: OpenGraphMetadata
Show file Open project: rabbal/Decision

Public Methods

Method Description
OpenGraphPlace ( string title, OpenGraphImage image, OpenGraphLocation location, string url = null ) : System

Initializes a new instance of the OpenGraphPlace class.

ToString ( StringBuilder stringBuilder ) : void

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

Method Details

OpenGraphPlace() public method

Initializes a new instance of the OpenGraphPlace class.
location is null.
public OpenGraphPlace ( 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.
return System

ToString() public method

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.
return void