C# 클래스 Decision.Common.OpenGraph.Media.OpenGraphAudio

A audio file that complements this object.
상속: OpenGraphMedia
파일 보기 프로젝트 열기: rabbal/Decision

공개 메소드들

메소드 설명
OpenGraphAudio ( string audioUrl ) : System.Text

Initializes a new instance of the OpenGraphAudio class.

OpenGraphAudio ( string mediaUrl, string type ) : System.Text

Initializes a new instance of the OpenGraphAudio class.

ToString ( StringBuilder stringBuilder ) : void

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

메소드 상세

OpenGraphAudio() 공개 메소드

Initializes a new instance of the OpenGraphAudio class.
Thrown if audioUrl is null.
public OpenGraphAudio ( string audioUrl ) : System.Text
audioUrl string The audio URL.
리턴 System.Text

OpenGraphAudio() 공개 메소드

Initializes a new instance of the OpenGraphAudio class.
Thrown if is null.
public OpenGraphAudio ( string mediaUrl, string type ) : System.Text
mediaUrl string The media URL.
type string The MIME type of the media e.g. media/ogg. This is optional if your media URL ends with /// a file extension, otherwise it is recommended.
리턴 System.Text

ToString() 공개 메소드

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