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

This object type represents the genre of a book or publication. 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.genre/
Inheritance: OpenGraphMetadata
Show file Open project: rabbal/Decision

Public Methods

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

Initializes a new instance of the OpenGraphBooksGenre class.

ToString ( StringBuilder stringBuilder ) : void

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

Method Details

OpenGraphBooksGenre() public method

Initializes a new instance of the OpenGraphBooksGenre class.
public OpenGraphBooksGenre ( string title, OpenGraphImage image, string canonicalName, 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.
canonicalName string THe genres canonical name. Only one of the following names is allowed Adventure, Children's Fiction, Drama, Erotica, Essays, Fantasy, Gay & Lesbian, Graphic Novels, Historical Fiction, Horror, Fiction & Literature, Mystery, Mythology & Folklore, Poetry, Religious & Inspiratonal, Rhetoric & Critcism, Romance, Satire & Humor, Science Fiction, Thrillers & Suspense, Westerns, Women's Fiction, Young Adult Fiction, Biography & Memoir, Current Affairs & Politics, Genealogy, Geography, History, History of the Ancient World, History of Africa, History of Asia, History of Europe, History of North America, History of South America, Travel, Bibliographies, Children's Non-fiction, Computer Science, Encyclopedias, General Collections, Gift Books, Information Sciences, Journalism & Publishing, Magazines & Journals, Manuscripts & Rare Books, Epistemology, Ethics, Logic, Metaphysics, Philosophy, Parapsychology & Occultism, Psychology, Self-help, Bible, Comparative Religions, Natural Theory, Theology, Business, Customs & Etiquette, Economics, Education, Finance, Gay & Lesbian Non-Fiction, Gender Studies, Law, Political Science, Social Sciences, Social Services, Statistics, True Crime, English & Old English, French, German, Greek, Italian, Language, Latin, Linguistics, Other Languages, Portugese, Spanish, Astronomy, Chemistry, Earth Sciences, Life Sciences, Mathematics, Paleontology & Paleozoology, Physics, Plants Sciences, Zoology, Agriculture, Chemical Engineering, Engineering & Opera?ons, Management, Manufacturing, Medical Sciences, Technology, Cooking & Cookbooks, Gardening, Home Decorating, Home Economics, Parenting, Pets, Architecture, Design, Drawing, Fine Art, Gardening, Graphic Art, Music, Painting, Performing Arts, Photography, Sculpture, Games, Fitness, Health and Sports.
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