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

The Summary Card with Large Image features a large, full-width prominent image alongside a tweet. It is designed to give the reader a rich photo experience, and clicking on the image brings the user to your website. On twitter.com and the mobile clients, the image appears below the tweet text. See https://dev.twitter.com/cards/types/summary-large-image.
Inheritance: TwitterCard
Show file Open project: rabbal/Decision

Public Methods

Method Description
SummaryLargeImageTwitterCard ( string username ) : System.Text

Initializes a new instance of the SummaryLargeImageTwitterCard class.

ToString ( StringBuilder stringBuilder ) : void

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

Method Details

SummaryLargeImageTwitterCard() public method

Initializes a new instance of the SummaryLargeImageTwitterCard class.
username is null.
public SummaryLargeImageTwitterCard ( string username ) : System.Text
username string The Twitter username of the creator of the content on the page e.g. @RehanSaeedUK. This is an optional 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