public static NotSupportedException NotSupportedMethod(this EnsureExceptionHelper ensure, RouteMethod method) { Ensure.NotNull(ensure, "ensure"); return(ensure.NotSupported("Not supported route method '{0}'.", method)); }
public static NotSupportedException NotSupportedSerialization(this EnsureExceptionHelper ensure, RouteSerialization serialization) { Ensure.NotNull(ensure, "ensure"); return(ensure.NotSupported("Not supported serialization type '{0}'.", serialization)); }