C# 클래스 Microsoft.Http.HttpContent

상속: IDisposable
파일 보기 프로젝트 열기: o2platform/O2.Platform.Projects 1 사용 예제들

공개 메소드들

메소드 설명
Create ( Action writer ) : HttpContent
Create ( Action writer, string contentType ) : HttpContent
Create ( Action writer, string contentType, long length ) : HttpContent
Create ( FileInfo info, string contentType ) : HttpContent
Create ( Func deferred ) : HttpContent
Create ( Func deferred, string contentType ) : HttpContent
Create ( Func deferred, string contentType, long length ) : HttpContent
Create ( ICreateHttpContent creator ) : HttpContent
Create ( Stream source ) : HttpContent
Create ( Stream source, string contentType, long length ) : HttpContent
Create ( byte value ) : HttpContent
Create ( byte value, string contentType ) : HttpContent
Create ( string value ) : HttpContent
Create ( string value, Encoding encoding ) : HttpContent
Create ( string value, Encoding encoding, string contentType ) : HttpContent
Create ( string value, string contentType ) : HttpContent
CreateEmpty ( ) : HttpContent
Dispose ( ) : void
GetLength ( ) : long
HasLength ( ) : bool
IsNullOrEmpty ( HttpContent content ) : bool
LoadIntoBuffer ( ) : void
ReadAsByteArray ( ) : byte[]
ReadAsStream ( ) : Stream
ReadAsString ( ) : string
ToString ( ) : string
WriteTo ( Stream stream ) : void

비공개 메소드들

메소드 설명
CreateReadOnlyMemoryStream ( byte values ) : MemoryStream
HttpContent ( Content content, string contentType, long contentLength ) : System
ThrowIfDisposedOrConsumed ( ) : void

메소드 상세

Create() 공개 정적인 메소드

public static Create ( Action writer ) : HttpContent
writer Action
리턴 HttpContent

Create() 공개 정적인 메소드

public static Create ( Action writer, string contentType ) : HttpContent
writer Action
contentType string
리턴 HttpContent

Create() 공개 정적인 메소드

public static Create ( Action writer, string contentType, long length ) : HttpContent
writer Action
contentType string
length long
리턴 HttpContent

Create() 공개 정적인 메소드

public static Create ( FileInfo info, string contentType ) : HttpContent
info System.IO.FileInfo
contentType string
리턴 HttpContent

Create() 공개 정적인 메소드

public static Create ( Func deferred ) : HttpContent
deferred Func
리턴 HttpContent

Create() 공개 정적인 메소드

public static Create ( Func deferred, string contentType ) : HttpContent
deferred Func
contentType string
리턴 HttpContent

Create() 공개 정적인 메소드

public static Create ( Func deferred, string contentType, long length ) : HttpContent
deferred Func
contentType string
length long
리턴 HttpContent

Create() 공개 정적인 메소드

public static Create ( ICreateHttpContent creator ) : HttpContent
creator ICreateHttpContent
리턴 HttpContent

Create() 공개 정적인 메소드

public static Create ( Stream source ) : HttpContent
source Stream
리턴 HttpContent

Create() 공개 정적인 메소드

public static Create ( Stream source, string contentType, long length ) : HttpContent
source Stream
contentType string
length long
리턴 HttpContent

Create() 공개 정적인 메소드

public static Create ( byte value ) : HttpContent
value byte
리턴 HttpContent

Create() 공개 정적인 메소드

public static Create ( byte value, string contentType ) : HttpContent
value byte
contentType string
리턴 HttpContent

Create() 공개 정적인 메소드

public static Create ( string value ) : HttpContent
value string
리턴 HttpContent

Create() 공개 정적인 메소드

public static Create ( string value, Encoding encoding ) : HttpContent
value string
encoding System.Text.Encoding
리턴 HttpContent

Create() 공개 정적인 메소드

public static Create ( string value, Encoding encoding, string contentType ) : HttpContent
value string
encoding System.Text.Encoding
contentType string
리턴 HttpContent

Create() 공개 정적인 메소드

public static Create ( string value, string contentType ) : HttpContent
value string
contentType string
리턴 HttpContent

CreateEmpty() 공개 정적인 메소드

public static CreateEmpty ( ) : HttpContent
리턴 HttpContent

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GetLength() 공개 메소드

public GetLength ( ) : long
리턴 long

HasLength() 공개 메소드

public HasLength ( ) : bool
리턴 bool

IsNullOrEmpty() 공개 정적인 메소드

public static IsNullOrEmpty ( HttpContent content ) : bool
content HttpContent
리턴 bool

LoadIntoBuffer() 공개 메소드

public LoadIntoBuffer ( ) : void
리턴 void

ReadAsByteArray() 공개 메소드

public ReadAsByteArray ( ) : byte[]
리턴 byte[]

ReadAsStream() 공개 메소드

public ReadAsStream ( ) : Stream
리턴 Stream

ReadAsString() 공개 메소드

public ReadAsString ( ) : string
리턴 string

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

WriteTo() 공개 메소드

public WriteTo ( Stream stream ) : void
stream Stream
리턴 void