Ejemplo n.º 1
0
 public virtual string ResolveTypedUrl(string httpMethod, object requestDto)
 {
     this.PopulateRequestMetadata(requestDto);
     return(ToAbsoluteUrl(TypedUrlResolver?.Invoke(this, httpMethod, requestDto)
                          ?? requestDto.ToUrl(httpMethod, fallback: requestType => BasePath + requestType.GetOperationName())));
 }
Ejemplo n.º 2
0
 public virtual string ResolveTypedUrl(string httpMethod, object requestDto)
 {
     this.PopulateRequestMetadata(requestDto);
     return(ToAbsoluteUrl(TypedUrlResolver?.Invoke(this, httpMethod, requestDto) ?? requestDto.ToUrl(httpMethod, Format)));
 }