C# 클래스 Rest4Net.Command

파일 보기 프로젝트 열기: acropolium/Rest4Net 1 사용 예제들

공개 메소드들

메소드 설명
Execute ( ) : CommandResult
WithBody ( string body ) : Command
WithContitionParameter ( bool condition, string key, string value ) : Command
WithHeader ( string key, string value ) : Command
WithOption ( string key, string value ) : Command
WithParameter ( string>.IEnumerable parameters ) : Command
WithParameter ( object parameters ) : Command
WithParameter ( string key, int value ) : Command
WithParameter ( string key, string value ) : Command
WithParameter ( string key, uint value ) : Command
WithParameterIfGreaterThanZero ( string key, int value ) : Command
WithParameterIfNotNull ( string key, string value ) : Command

비공개 메소드들

메소드 설명
Command ( RequestType type, string path, RestApiProvider executor ) : System
Create ( string path, RequestType type, RestApiProvider executor ) : Command
GetFields ( Type type ) : IEnumerable
GetParametersFromObject ( object parameters ) : string>>.IEnumerable
GetProperties ( Type type ) : IEnumerable
WithSomething ( string>.ICollection list, string key, string value ) : Command

메소드 상세

Execute() 공개 메소드

public Execute ( ) : CommandResult
리턴 CommandResult

WithBody() 공개 메소드

public WithBody ( string body ) : Command
body string
리턴 Command

WithContitionParameter() 공개 메소드

public WithContitionParameter ( bool condition, string key, string value ) : Command
condition bool
key string
value string
리턴 Command

WithHeader() 공개 메소드

public WithHeader ( string key, string value ) : Command
key string
value string
리턴 Command

WithOption() 공개 메소드

public WithOption ( string key, string value ) : Command
key string
value string
리턴 Command

WithParameter() 공개 메소드

public WithParameter ( string>.IEnumerable parameters ) : Command
parameters string>.IEnumerable
리턴 Command

WithParameter() 공개 메소드

public WithParameter ( object parameters ) : Command
parameters object
리턴 Command

WithParameter() 공개 메소드

public WithParameter ( string key, int value ) : Command
key string
value int
리턴 Command

WithParameter() 공개 메소드

public WithParameter ( string key, string value ) : Command
key string
value string
리턴 Command

WithParameter() 공개 메소드

public WithParameter ( string key, uint value ) : Command
key string
value uint
리턴 Command

WithParameterIfGreaterThanZero() 공개 메소드

public WithParameterIfGreaterThanZero ( string key, int value ) : Command
key string
value int
리턴 Command

WithParameterIfNotNull() 공개 메소드

public WithParameterIfNotNull ( string key, string value ) : Command
key string
value string
리턴 Command