C# 클래스 ServiceStack.ServiceHost.RestPath

상속: IRestPath
파일 보기 프로젝트 열기: firstsee/ServiceStack 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Verbs string[]

공개 메소드들

메소드 설명
CreateRequest ( string pathInfo ) : object
CreateRequest ( string pathInfo, string>.Dictionary queryStringAndFormData, object fromInstance ) : object
GetFirstMatchHashKeys ( string pathPartsForMatching ) : IEnumerable
GetFirstMatchWildCardHashKeys ( string pathPartsForMatching ) : IEnumerable
GetHashCode ( ) : int
GetPathPartsForMatching ( string pathInfo ) : string[]
IsMatch ( string httpMethod, string withPathInfoParts ) : bool

For performance withPathInfoParts should already be a lower case string to minimize redundant matching operations.

RestPath ( Type requestType, ServiceStack.ServiceHost.RestServiceAttribute attr ) : System

비공개 메소드들

메소드 설명
ExplodeComponents ( string &withPathInfoParts ) : bool
GetPotentialMatchesWithPrefix ( string hashPrefix, string pathPartsForMatching ) : IEnumerable
RegisterCaseInsenstivePropertyNameMappings ( ) : void

메소드 상세

CreateRequest() 공개 메소드

public CreateRequest ( string pathInfo ) : object
pathInfo string
리턴 object

CreateRequest() 공개 메소드

public CreateRequest ( string pathInfo, string>.Dictionary queryStringAndFormData, object fromInstance ) : object
pathInfo string
queryStringAndFormData string>.Dictionary
fromInstance object
리턴 object

GetFirstMatchHashKeys() 공개 정적인 메소드

public static GetFirstMatchHashKeys ( string pathPartsForMatching ) : IEnumerable
pathPartsForMatching string
리턴 IEnumerable

GetFirstMatchWildCardHashKeys() 공개 정적인 메소드

public static GetFirstMatchWildCardHashKeys ( string pathPartsForMatching ) : IEnumerable
pathPartsForMatching string
리턴 IEnumerable

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

GetPathPartsForMatching() 공개 정적인 메소드

public static GetPathPartsForMatching ( string pathInfo ) : string[]
pathInfo string
리턴 string[]

IsMatch() 공개 메소드

For performance withPathInfoParts should already be a lower case string to minimize redundant matching operations.
public IsMatch ( string httpMethod, string withPathInfoParts ) : bool
httpMethod string
withPathInfoParts string
리턴 bool

RestPath() 공개 메소드

public RestPath ( Type requestType, ServiceStack.ServiceHost.RestServiceAttribute attr ) : System
requestType System.Type
attr ServiceStack.ServiceHost.RestServiceAttribute
리턴 System

프로퍼티 상세

Verbs 공개적으로 프로퍼티

public string[] Verbs
리턴 string[]