C# Class Decision.Common.OpenGraph.ObjectTypes.Standard.OpenGraphMusicSong

This object represents a single song. This object type is part of the Open Graph standard. See http://ogp.me/ https://developers.facebook.com/docs/reference/opengraph/object-type/music.song/
Inheritance: OpenGraphMetadata
Mostra file Open project: rabbal/Decision

Public Methods

Method Description
OpenGraphMusicSong ( string title, OpenGraphImage image, IEnumerable albumUrls, string url = null ) : System

Initializes a new instance of the OpenGraphMusicSong class.

ToString ( StringBuilder stringBuilder ) : void

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

Method Details

OpenGraphMusicSong() public method

Initializes a new instance of the OpenGraphMusicSong class.
public OpenGraphMusicSong ( string title, OpenGraphImage image, IEnumerable albumUrls, 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.
albumUrls IEnumerable The URL's to the pages about the album the song comes from. This URL's must contain profile meta tags .
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