C# Class NSemble.Web.Core.NSembleRouteResolver

The default implementation for deciding if any of the available routes is a match for the incoming HTTP request.
Inheritance: IRouteResolver, IDiagnosticsProvider
Afficher le fichier Open project: synhershko/NSemble Class Usage Examples

Méthodes publiques

Méthode Description
NSembleRouteResolver ( INancyModuleCatalog catalog, INancyModuleBuilder moduleBuilder, IRouteCache routeCache, IRouteResolverTrie trie ) : System
Resolve ( Nancy.NancyContext context ) : Nancy.Routing.ResolveResult

Private Methods

Méthode Description
BuildOptionsResult ( Nancy.NancyContext context ) : Nancy.Routing.ResolveResult
BuildResult ( Nancy.NancyContext context, MatchResult result ) : Nancy.Routing.ResolveResult
BuildTrie ( ) : void
GetMethod ( Nancy.NancyContext context ) : string
GetModuleFromMatchResult ( Nancy.NancyContext context, MatchResult result ) : INancyModule
GetNotFoundResult ( Nancy.NancyContext context ) : Nancy.Routing.ResolveResult
IsOptionsRequest ( Nancy.NancyContext context ) : bool
Resolve ( Nancy.NancyContext context, string pathDecoded ) : Nancy.Routing.ResolveResult

Method Details

NSembleRouteResolver() public méthode

public NSembleRouteResolver ( INancyModuleCatalog catalog, INancyModuleBuilder moduleBuilder, IRouteCache routeCache, IRouteResolverTrie trie ) : System
catalog INancyModuleCatalog
moduleBuilder INancyModuleBuilder
routeCache IRouteCache
trie IRouteResolverTrie
Résultat System

Resolve() public méthode

public Resolve ( Nancy.NancyContext context ) : Nancy.Routing.ResolveResult
context Nancy.NancyContext
Résultat Nancy.Routing.ResolveResult