C# 클래스 Bloom.Api.PretendRequestInfo

상속: IRequestInfo
파일 보기 프로젝트 열기: BloomBooks/BloomDesktop 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ReplyContents string
ReplyImagePath string
StatusCode long
StatusDescription string

공개 메소드들

메소드 설명
GetPostDataWhenFormEncoded ( ) : NameValueCollection
GetPostJson ( ) : string
GetPostString ( ) : string
GetQueryParameters ( ) : NameValueCollection
PretendRequestInfo ( string url, HttpMethods httpMethod = HttpMethods.Get, bool forPrinting = false, bool forSrcAttr = false ) : System.Collections.Specialized
ReplyWithFileContent ( string path ) : void
ReplyWithImage ( string path ) : void
SucceededDoNotNavigate ( ) : void
WriteCompleteOutput ( string s ) : void
WriteError ( int errorCode ) : void
WriteError ( int errorCode, string errorDescription ) : void

메소드 상세

GetPostDataWhenFormEncoded() 공개 메소드

public GetPostDataWhenFormEncoded ( ) : NameValueCollection
리턴 System.Collections.Specialized.NameValueCollection

GetPostJson() 공개 메소드

public GetPostJson ( ) : string
리턴 string

GetPostString() 공개 메소드

public GetPostString ( ) : string
리턴 string

GetQueryParameters() 공개 메소드

public GetQueryParameters ( ) : NameValueCollection
리턴 System.Collections.Specialized.NameValueCollection

PretendRequestInfo() 공개 메소드

public PretendRequestInfo ( string url, HttpMethods httpMethod = HttpMethods.Get, bool forPrinting = false, bool forSrcAttr = false ) : System.Collections.Specialized
url string
httpMethod HttpMethods
forPrinting bool
forSrcAttr bool
리턴 System.Collections.Specialized

ReplyWithFileContent() 공개 메소드

public ReplyWithFileContent ( string path ) : void
path string
리턴 void

ReplyWithImage() 공개 메소드

public ReplyWithImage ( string path ) : void
path string
리턴 void

SucceededDoNotNavigate() 공개 메소드

public SucceededDoNotNavigate ( ) : void
리턴 void

WriteCompleteOutput() 공개 메소드

public WriteCompleteOutput ( string s ) : void
s string
리턴 void

WriteError() 공개 메소드

public WriteError ( int errorCode ) : void
errorCode int
리턴 void

WriteError() 공개 메소드

public WriteError ( int errorCode, string errorDescription ) : void
errorCode int
errorDescription string
리턴 void

프로퍼티 상세

ReplyContents 공개적으로 프로퍼티

public string ReplyContents
리턴 string

ReplyImagePath 공개적으로 프로퍼티

public string ReplyImagePath
리턴 string

StatusCode 공개적으로 프로퍼티

public long StatusCode
리턴 long

StatusDescription 공개적으로 프로퍼티

public string StatusDescription
리턴 string