Méthode | Description | |
---|---|---|
AsHttps ( this absoluteUrl ) : string | ||
ExpandGenericTypeName ( |
||
ExpandTypeName ( this type ) : string | ||
GetMetadataPropertyType ( this type ) : string | ||
GetOperationName ( this type ) : string | ||
GetQueryPropertyTypes ( this requestType ) : Type>.Dictionary |
||
HasRequestBody ( this httpMethod ) : bool | ||
ToDeleteUrl ( this requestDto ) : string | ||
ToGetUrl ( this requestDto ) : string | ||
ToOneWayUrl ( this requestDto, string format = "json" ) : string | ||
ToOneWayUrlOnly ( this requestDto, string format = "json" ) : string | ||
ToPostUrl ( this requestDto ) : string | ||
ToPutUrl ( this requestDto ) : string | ||
ToRelativeUri ( this requestDto, string httpMethod, string formatFallbackToPredefinedRoute = null ) : string | ||
ToReplyUrl ( this requestDto, string format = "json" ) : string | ||
ToReplyUrlOnly ( this requestDto, string format = "json" ) : string | ||
ToUrl ( this requestDto, string httpMethod, string formatFallbackToPredefinedRoute = null ) : string |
Generate a url from a Request DTO. Pretty URL generation require Routes to be defined using `[Route]` on the Request DTO
|
Méthode | Description | |
---|---|---|
FindMostSpecificRoute ( IEnumerable |
||
GetRoutesForType ( |
public static AsHttps ( this absoluteUrl ) : string | ||
absoluteUrl | this | |
Résultat | string |
public static ExpandGenericTypeName ( |
||
type | ||
Résultat | string |
public static ExpandTypeName ( this type ) : string | ||
type | this | |
Résultat | string |
public static GetMetadataPropertyType ( this type ) : string | ||
type | this | |
Résultat | string |
public static GetOperationName ( this type ) : string | ||
type | this | |
Résultat | string |
public static GetQueryPropertyTypes ( this requestType ) : Type>.Dictionary |
||
requestType | this | |
Résultat | Type>.Dictionary |
public static HasRequestBody ( this httpMethod ) : bool | ||
httpMethod | this | |
Résultat | bool |
public static ToDeleteUrl ( this requestDto ) : string | ||
requestDto | this | |
Résultat | string |
public static ToGetUrl ( this requestDto ) : string | ||
requestDto | this | |
Résultat | string |
public static ToOneWayUrl ( this requestDto, string format = "json" ) : string | ||
requestDto | this | |
format | string | |
Résultat | string |
public static ToOneWayUrlOnly ( this requestDto, string format = "json" ) : string | ||
requestDto | this | |
format | string | |
Résultat | string |
public static ToPostUrl ( this requestDto ) : string | ||
requestDto | this | |
Résultat | string |
public static ToPutUrl ( this requestDto ) : string | ||
requestDto | this | |
Résultat | string |
public static ToRelativeUri ( this requestDto, string httpMethod, string formatFallbackToPredefinedRoute = null ) : string | ||
requestDto | this | |
httpMethod | string | |
formatFallbackToPredefinedRoute | string | |
Résultat | string |
public static ToReplyUrl ( this requestDto, string format = "json" ) : string | ||
requestDto | this | |
format | string | |
Résultat | string |
public static ToReplyUrlOnly ( this requestDto, string format = "json" ) : string | ||
requestDto | this | |
format | string | |
Résultat | string |
public static ToUrl ( this requestDto, string httpMethod, string formatFallbackToPredefinedRoute = null ) : string | ||
requestDto | this | |
httpMethod | string | |
formatFallbackToPredefinedRoute | string | |
Résultat | string |