C# 클래스 DynamicRest.RestClient

상속: System.Dynamic.DynamicObject
파일 보기 프로젝트 열기: nikhilk/dynamicrest 1 사용 예제들

공개 메소드들

메소드 설명
RestClient ( string uriFormat, RestService service ) : System
TryGetMember ( GetMemberBinder binder, object &result ) : bool
TryInvokeMember ( InvokeMemberBinder binder, object args, object &result ) : bool
TrySetMember ( SetMemberBinder binder, object value ) : bool
WithCredentials ( ICredentials credentials ) : RestClient
WithUriTransformer ( IRestUriTransformer uriTransformer ) : RestClient

비공개 메소드들

메소드 설명
CreateRequest ( string operationName, JsonObject parameters ) : HttpWebRequest
CreateRequestUri ( string operationName, JsonObject parameters ) : Uri
FormatUriParameter ( object value ) : string
PerformOperation ( string operationName ) : RestOperation
PerformOperationAsync ( string operationName ) : RestOperation
ProcessResponse ( System.Stream responseStream ) : object
RestClient ( string uriFormat, RestService service, string operationGroup, object>.Dictionary inheritedParameters ) : System

메소드 상세

RestClient() 공개 메소드

public RestClient ( string uriFormat, RestService service ) : System
uriFormat string
service RestService
리턴 System

TryGetMember() 공개 메소드

public TryGetMember ( GetMemberBinder binder, object &result ) : bool
binder GetMemberBinder
result object
리턴 bool

TryInvokeMember() 공개 메소드

public TryInvokeMember ( InvokeMemberBinder binder, object args, object &result ) : bool
binder InvokeMemberBinder
args object
result object
리턴 bool

TrySetMember() 공개 메소드

public TrySetMember ( SetMemberBinder binder, object value ) : bool
binder SetMemberBinder
value object
리턴 bool

WithCredentials() 공개 메소드

public WithCredentials ( ICredentials credentials ) : RestClient
credentials ICredentials
리턴 RestClient

WithUriTransformer() 공개 메소드

public WithUriTransformer ( IRestUriTransformer uriTransformer ) : RestClient
uriTransformer IRestUriTransformer
리턴 RestClient