namespace EmbedIO.Routing
{
///
/// Represents the outcome of resolving a context and a path against a route.
///
public enum RouteResolutionResult
{
/* DO NOT reorder members!
* RouteNotMatched < NoHandlerSelected < NoHandlerSuccessful < Success
*
* See comments in RouteResolverBase<,>.ResolveAsync for further explanation.
*/
///
/// The route didn't match.
///
RouteNotMatched,
///
/// The route did match, but no registered handler was suitable for the context.
///
NoHandlerSelected,
///
/// The route matched and one or more suitable handlers were found,
/// but none of them returned .
///
NoHandlerSuccessful,
///
/// The route has been resolved.
///
Success,
}
}