C# Class NuGetGallery.RouteAreaCollectionExtensions

Mostra file Open project: chocolatey/chocolatey.org

Public Methods

Method Description
MapRouteSeo ( this context, string name, string url ) : System.Web.Mvc.AreaRegistrationContext

Maps the specified URL route using a lowercase URL. Does not change casing in the querystring, if any.

MapRouteSeo ( this context, string name, string url, object defaults ) : System.Web.Mvc.AreaRegistrationContext

Maps the specified URL route using a lowercase URL and sets default route values. Does not change casing in the querystring, if any.

MapRouteSeo ( this context, string name, string url, object defaults, object constraints ) : System.Web.Mvc.AreaRegistrationContext

Maps the specified URL route using a lowercase URL and sets default route values and constraints. Does not change casing in the querystring, if any.

MapRouteSeo ( this context, string name, string url, object defaults, object constraints, string namespaces ) : System.Web.Mvc.AreaRegistrationContext

Maps the specified URL route and sets default route values, constraints, and namespaces. Does not change casing in the querystring, if any.

MapRouteSeo ( this context, string name, string url, object defaults, string namespaces ) : System.Web.Mvc.AreaRegistrationContext

Maps the specified URL route using a lowercase URL and sets default route values and namespaces. Does not change casing in the querystring, if any.

MapRouteSeo ( this context, string name, string url, string namespaces ) : System.Web.Mvc.AreaRegistrationContext

Maps the specified URL route using a lowercase URL and sets the namespaces. Does not change casing in the querystring, if any.

Method Details

MapRouteSeo() public static method

Maps the specified URL route using a lowercase URL. Does not change casing in the querystring, if any.
public static MapRouteSeo ( this context, string name, string url ) : System.Web.Mvc.AreaRegistrationContext
context this A collection of context for the application.
name string The name of the route to map.
url string The URL pattern for the route.
return System.Web.Mvc.AreaRegistrationContext

MapRouteSeo() public static method

Maps the specified URL route using a lowercase URL and sets default route values. Does not change casing in the querystring, if any.
public static MapRouteSeo ( this context, string name, string url, object defaults ) : System.Web.Mvc.AreaRegistrationContext
context this A collection of context for the application.
name string The name of the route to map.
url string The URL pattern for the route.
defaults object An object that contains default route values.
return System.Web.Mvc.AreaRegistrationContext

MapRouteSeo() public static method

Maps the specified URL route using a lowercase URL and sets default route values and constraints. Does not change casing in the querystring, if any.
public static MapRouteSeo ( this context, string name, string url, object defaults, object constraints ) : System.Web.Mvc.AreaRegistrationContext
context this A collection of context for the application.
name string The name of the route to map.
url string The URL pattern for the route.
defaults object An object that contains default route values.
constraints object A set of expressions that specify valid values for a URL parameter.
return System.Web.Mvc.AreaRegistrationContext

MapRouteSeo() public static method

Maps the specified URL route and sets default route values, constraints, and namespaces. Does not change casing in the querystring, if any.
public static MapRouteSeo ( this context, string name, string url, object defaults, object constraints, string namespaces ) : System.Web.Mvc.AreaRegistrationContext
context this A collection of context for the application.
name string The name of the route to map.
url string The URL pattern for the route.
defaults object An object that contains default route values.
constraints object A set of expressions that specify valid values for a URL parameter.
namespaces string A set of namespaces for the application.
return System.Web.Mvc.AreaRegistrationContext

MapRouteSeo() public static method

Maps the specified URL route using a lowercase URL and sets default route values and namespaces. Does not change casing in the querystring, if any.
public static MapRouteSeo ( this context, string name, string url, object defaults, string namespaces ) : System.Web.Mvc.AreaRegistrationContext
context this A collection of context for the application.
name string The name of the route to map.
url string The URL pattern for the route.
defaults object An object that contains default route values.
namespaces string A set of namespaces for the application.
return System.Web.Mvc.AreaRegistrationContext

MapRouteSeo() public static method

Maps the specified URL route using a lowercase URL and sets the namespaces. Does not change casing in the querystring, if any.
public static MapRouteSeo ( this context, string name, string url, string namespaces ) : System.Web.Mvc.AreaRegistrationContext
context this A collection of context for the application.
name string The name of the route to map.
url string The URL pattern for the route.
namespaces string A set of namespaces for the application.
return System.Web.Mvc.AreaRegistrationContext