Method | Description | |
---|---|---|
And ( ) : RouteParameters |
Seperates route segments by adding a '/' to the route
|
|
AnyIntAtLeastOnce ( string NamedGroup ) : RouteParameters |
Creates a route that expects at least one integer, for example, /products/123
|
|
AnyIntAtLeastOnce ( string NamedGroup, int lengthStart, int lengthEnd ) : RouteParameters |
Creates a route that expects at least one integer, for example, /products/123
|
|
AnyIntOptional ( string NamedGroup ) : RouteParameters |
Creates a route that will accept an int but the URL doesn't always have to contain one, for example, /products OR /products/123. NOTE: Do not use a / in your route before using this method as one is included
|
|
AnyStringAtLeastOnce ( string NamedGroup ) : RouteParameters |
Creates a route that expects at least one string, for example, /mac
|
|
AnyStringAtLeastOnce ( string NamedGroup, int lengthStart, int lengthEnd ) : RouteParameters |
Creates a route that expects at least one string, for example, /mac
|
|
AnyStringOptional ( string NamedGroup ) : RouteParameters |
Creates a route that will accept a string but the URL doesn't always have to contain one, for example, /products OR /products/mac. NOTE: Do not use a / in your route before using this method as one is included
|
|
Exact ( string NamedGroup, string Exact ) : RouteParameters |
Creates a route that expects a certain pattern
|
|
Root ( ) : RouteParameters |
Starts route segments by adding a '/' to the route
|
public static AnyIntAtLeastOnce ( string NamedGroup ) : RouteParameters | ||
NamedGroup | string | The name of the parameter in the route |
return | RouteParameters |
public static AnyIntAtLeastOnce ( string NamedGroup, int lengthStart, int lengthEnd ) : RouteParameters | ||
NamedGroup | string | The name of the parameter in the route |
lengthStart | int | The minimum number of integers in the route |
lengthEnd | int | The maximum number of integers in the route |
return | RouteParameters |
public static AnyIntOptional ( string NamedGroup ) : RouteParameters | ||
NamedGroup | string | The name of the parameter in the route |
return | RouteParameters |
public static AnyStringAtLeastOnce ( string NamedGroup ) : RouteParameters | ||
NamedGroup | string | The name of the parameter in the route |
return | RouteParameters |
public static AnyStringAtLeastOnce ( string NamedGroup, int lengthStart, int lengthEnd ) : RouteParameters | ||
NamedGroup | string | The name of the parameter in the route |
lengthStart | int | The minimum number of characters in the route |
lengthEnd | int | The minimum number of characters in the route |
return | RouteParameters |
public static AnyStringOptional ( string NamedGroup ) : RouteParameters | ||
NamedGroup | string | The name of the parameter in the route |
return | RouteParameters |
public static Exact ( string NamedGroup, string Exact ) : RouteParameters | ||
NamedGroup | string | The name of the parameter in the route |
Exact | string | The exact pattern in the route |
return | RouteParameters |