C# 클래스 ServiceStack.Host.RestPath

상속: IRestPath
파일 보기 프로젝트 열기: nustack/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.

IsMatch ( string httpMethod, string withPathInfoParts, int &wildcardMatchCount ) : bool

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

MatchScore ( string httpMethod, string withPathInfoParts ) : int
RestPath ( Type requestType, string path ) : System
RestPath ( Type requestType, string path, string verbs, string summary = null, string notes = null ) : 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

IsMatch() 공개 메소드

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

MatchScore() 공개 메소드

public MatchScore ( string httpMethod, string withPathInfoParts ) : int
httpMethod string
withPathInfoParts string
리턴 int

RestPath() 공개 메소드

public RestPath ( Type requestType, string path ) : System
requestType System.Type
path string
리턴 System

RestPath() 공개 메소드

public RestPath ( Type requestType, string path, string verbs, string summary = null, string notes = null ) : System
requestType System.Type
path string
verbs string
summary string
notes string
리턴 System

프로퍼티 상세

Verbs 공개적으로 프로퍼티

public string[] Verbs
리턴 string[]