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

This object type represents the user's activity contributing to a particular run, walk, or bike course. 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/fitness.course/
Inheritance: OpenGraphMetadata
Show file Open project: rabbal/Decision

Public Methods

Method Description
OpenGraphFitnessCourse ( string title, OpenGraphImage image, string url = null ) : System.Collections.Generic

Initializes a new instance of the OpenGraphFitnessCourse class.

ToString ( StringBuilder stringBuilder ) : void

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

Method Details

OpenGraphFitnessCourse() public method

Initializes a new instance of the OpenGraphFitnessCourse class.
public OpenGraphFitnessCourse ( string title, OpenGraphImage image, string url = null ) : System.Collections.Generic
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.
return System.Collections.Generic

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