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

The Gallery Card allows you to represent collections of photos within a Tweet. This Card type is designed to let the user know that there’s more than just a single image at the URL shared, but rather a gallery of related images. You can specify up to 4 different images to show in the gallery card. You can also provide attribution to the photographer of the gallery by specifying the value of the creator tag. See https://dev.twitter.com/cards/types/gallery.
상속: TwitterCard
파일 보기 프로젝트 열기: rabbal/Decision

공개 메소드들

메소드 설명
GalleryTwitterCard ( string username, TwitterImage image0, TwitterImage image1, TwitterImage image2, TwitterImage image3 ) : System

Initializes a new instance of the GalleryTwitterCard class.

ToString ( StringBuilder stringBuilder ) : void

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

메소드 상세

GalleryTwitterCard() 공개 메소드

Initializes a new instance of the GalleryTwitterCard class.
username or image0 or image1 or image2 or image3 is null.
public GalleryTwitterCard ( string username, TwitterImage image0, TwitterImage image1, TwitterImage image2, TwitterImage image3 ) : System
username string The Twitter username of the creator of the content on the page e.g. @RehanSaeedUK. This is an optional property.
image0 TwitterImage The image0.
image1 TwitterImage The image1.
image2 TwitterImage The image2.
image3 TwitterImage The image3.
리턴 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