C# Класс Decision.Common.Twitter.Cards.SummaryTwitterCard

The Summary Card can be used for many kinds of web content, from blog posts and news articles, to products and restaurants. It is designed to give the reader a preview of the content before clicking through to your website. See https://dev.twitter.com/cards/types/summary.
Наследование: TwitterCard
Показать файл Открыть проект

Открытые методы

Метод Описание
SummaryTwitterCard ( string username ) : System.Text

Initializes a new instance of the SummaryTwitterCard class.

ToString ( StringBuilder stringBuilder ) : void

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

Описание методов

SummaryTwitterCard() публичный Метод

Initializes a new instance of the SummaryTwitterCard class.
username is null.
public SummaryTwitterCard ( string username ) : System.Text
username string The Twitter username associated with the page e.g. @RehanSaeedUK. This is a required property.
Результат System.Text

ToString() публичный Метод

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.
Результат void