C# 클래스 Decision.Common.Twitter.Cards.PhotoTwitterCard

The Photo Card puts the image front and center in the Tweet. Clicking on the photo expands it to a richer, detailed view. On twitter.com and mobile clients, the image appears below the tweet text. See https://dev.twitter.com/cards/types/photo
상속: TwitterCard
파일 보기 프로젝트 열기: rabbal/Decision

공개 메소드들

메소드 설명
PhotoTwitterCard ( string username, TwitterImage image ) : System

Initializes a new instance of the PhotoTwitterCard class.

ToString ( StringBuilder stringBuilder ) : void

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

메소드 상세

PhotoTwitterCard() 공개 메소드

Initializes a new instance of the PhotoTwitterCard class.
username or image is null.
public PhotoTwitterCard ( string username, TwitterImage image ) : System
username string The username.
image TwitterImage The image to use.
리턴 System

ToString() 공개 메소드

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