ServiceStack.UrlExtensions.ToUrl C# (CSharp) Метод

ToUrl() публичный статический Метод

Generate a url from a Request DTO. Pretty URL generation require Routes to be defined using `[Route]` on the Request DTO
public static ToUrl ( this requestDto, string httpMethod, string formatFallbackToPredefinedRoute = null ) : string
requestDto this
httpMethod string
formatFallbackToPredefinedRoute string
Результат string
        public static string ToUrl(this IReturn requestDto, string httpMethod, string formatFallbackToPredefinedRoute = null)
        {
            return ToUrl((object)requestDto, httpMethod, formatFallbackToPredefinedRoute);
        }