Got at least one data fetching method working; turns out, we can't use a patched LogicStack to get the data

This commit is contained in:
2026-01-14 22:11:11 +01:00
parent 40a8431464
commit 3f7122d30a
350 changed files with 41444 additions and 119 deletions

View File

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