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()))); }
public virtual string ResolveTypedUrl(string httpMethod, object requestDto) { this.PopulateRequestMetadata(requestDto); return(ToAbsoluteUrl(TypedUrlResolver?.Invoke(this, httpMethod, requestDto) ?? requestDto.ToUrl(httpMethod, Format))); }