ServiceStack.Host.RouteNamingConvention.WithRequestDtoName C# (CSharp) Method

WithRequestDtoName() public static method

public static WithRequestDtoName ( IServiceRoutes routes, Type requestType, string allowedVerbs ) : void
routes IServiceRoutes
requestType System.Type
allowedVerbs string
return void
        public static void WithRequestDtoName(IServiceRoutes routes, Type requestType, string allowedVerbs)
        {
            routes.Add(requestType, restPath: "/{0}".Fmt(requestType.Name), verbs: allowedVerbs, priority:AutoGenPriority);
        }