C# 클래스 Google.GData.Client.MediaSource

placeholder for a media object to be uploaded the base class only defines some primitives like content type
파일 보기 프로젝트 열기: moljac/MonoMobile.Google.GData

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
GetContentTypeForFileName ( string fileName ) : string

tries to get a contenttype for a filename by using the classesRoot in the registry. Will FAIL if that filetype is not registered with a contenttype

GetDataStream ( ) : Stream

returns a stream of the actual content that is base64 encoded

MediaSource ( string contenttype ) : System

constructs a media source based on a contenttype

MediaSource ( string name, string contenttype ) : System

constructs a media source based on a contenttype and a name

메소드 상세

GetContentTypeForFileName() 공개 정적인 메소드

tries to get a contenttype for a filename by using the classesRoot in the registry. Will FAIL if that filetype is not registered with a contenttype
public static GetContentTypeForFileName ( string fileName ) : string
fileName string
리턴 string

GetDataStream() 공개 추상적인 메소드

returns a stream of the actual content that is base64 encoded
public abstract GetDataStream ( ) : Stream
리턴 Stream

MediaSource() 공개 메소드

constructs a media source based on a contenttype
public MediaSource ( string contenttype ) : System
contenttype string the contenttype of the file
리턴 System

MediaSource() 공개 메소드

constructs a media source based on a contenttype and a name
public MediaSource ( string name, string contenttype ) : System
name string the name of the content
contenttype string the contenttype of the file
리턴 System