C# Class Decision.Common.Twitter.Cards.AppTwitterCard

The App Card is a great way to represent mobile applications on Twitter and to drive installs. The app card is designed to allow for a name, description and icon, and also to highlight attributes such as the rating and the price. This Card type is currently available on the twitter.com website, as well as iOS and Android mobile clients. It is not yet available on mobile web. See https://dev.twitter.com/cards/types/app.
Inheritance: TwitterCard
Show file Open project: rabbal/Decision

Public Methods

Method Description
AppTwitterCard ( string username ) : System.Text

Initializes a new instance of the AppTwitterCard class.

ToString ( StringBuilder stringBuilder ) : void

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

Method Details

AppTwitterCard() public method

Initializes a new instance of the AppTwitterCard class.
public AppTwitterCard ( string username ) : System.Text
username string The Twitter username associated with the page e.g. @RehanSaeedUK. This is a required property.
return System.Text

ToString() public method

Appends a HTML-encoded string representing this instance to the stringBuilder containing the Twitter card meta tags.
public ToString ( StringBuilder stringBuilder ) : void
stringBuilder System.Text.StringBuilder The string builder.
return void