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

This object represents a single author of a book. 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/books.author/
Inheritance: OpenGraphMetadata
Show file Open project: rabbal/Decision

Public Methods

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

Initializes a new instance of the OpenGraphBooksAuthor class.

ToString ( StringBuilder stringBuilder ) : void

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

Method Details

OpenGraphBooksAuthor() public method

Initializes a new instance of the OpenGraphBooksAuthor class.
public OpenGraphBooksAuthor ( 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 System.Text.StringBuilder The string builder.
return void