public static IServiceRoutes Add(this IServiceRoutes routes, Type requestType, string restPath, ApplyTo verbs) { return(routes.Add(requestType, restPath, verbs.ToVerbsString())); }
public static IServiceRoutes Add <TRequest>(this IServiceRoutes routes, string restPath, ApplyTo verbs) { return(routes.Add <TRequest>(restPath, verbs.ToVerbsString())); }
public static IServiceRoutes Add <TRequest>(this IServiceRoutes routes, string path, ApplyTo applyTo) { return(routes.Add(new RestPath(typeof(TRequest), path, applyTo.ToVerbsString()))); }
public static IServiceRoutes Add(this IServiceRoutes routes, Type requestType, string path, ApplyTo applyTo) { return(routes.Add(new RestPath(requestType, path, applyTo.ToVerbsString()))); }
public static IServiceRoutes Add <TRequest>(this IServiceRoutes routes, string restPath, ApplyTo verbs, string defaultContentType) { return(routes.Add <TRequest>(restPath, verbs.ToVerbsString(), defaultContentType)); }