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

a file based implementation. Takes a filename as it's base working mode
상속: MediaSource
파일 보기 프로젝트 열기: moljac/MonoMobile.Google.GData 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CopyStream void

공개 메소드들

메소드 설명
GetDataStream ( ) : Stream

returns the stream for the file. The file will be opened in readonly mode note, the caller has to release the resource

MediaFileSource ( Stream data, string fileName, string contentType ) : System

constructor. note that you can override the slug header without influencing the filename

MediaFileSource ( string fileName, string contentType ) : System

constructor. note that you can override the slug header without influencing the filename

비공개 메소드들

메소드 설명
CopyStream ( Stream input, Stream output ) : void

메소드 상세

GetDataStream() 공개 메소드

returns the stream for the file. The file will be opened in readonly mode note, the caller has to release the resource
public GetDataStream ( ) : Stream
리턴 Stream

MediaFileSource() 공개 메소드

constructor. note that you can override the slug header without influencing the filename
public MediaFileSource ( Stream data, string fileName, string contentType ) : System
data Stream The stream for the file. If this constructor is used, the filename is only /// used for descriptive purposes, the data will be read from the passed stream
fileName string the file to be used, this will be the default slug header
contentType string the content type to be used
리턴 System

MediaFileSource() 공개 메소드

constructor. note that you can override the slug header without influencing the filename
public MediaFileSource ( string fileName, string contentType ) : System
fileName string the file to be used, this will be the default slug header
contentType string the content type to be used
리턴 System