Nancy.RouteHelpers/RouteParameters.cs
/// <summary>
/// Creates a route that expects a certain pattern
/// </summary>
/// <param name="NamedGroup">The name of the parameter in the route</param>
/// <param name="Exact">The exact pattern in the route</param>
/// <returns>bob</returns>
Creates a route that expects a certain pattern
Creates a route that expects a certain pattern
public RouteParameters Exact(string NamedGroup, string Exact)
        {
            RouteBuilder.Append(@"(?<" + NamedGroup + ">" + Exact + ")");
            return this;
        }
public RouteParameters Exact ( string NamedGroup , string Exact ) { RouteBuilder . Append ( @"(?<" + NamedGroup + " " + Exact + " " ) ; return this ; }
Creates a route that expects a certain pattern
Creates a route that expects a certain pattern
None
NamedGroup
string
The name of the parameter in the route
The name of the parameter in the route
Exact
string
The exact pattern in the route
The exact pattern in the route