Class ModuleRouteCollection

Inheritance
System.Object
ModuleRouteCollection
Implements
System.Collections.Generic.IEnumerable<System.Web.Routing.RouteBase>
System.Collections.IEnumerable
Namespace: EPiServer.Shell.Web.Routing
Assembly: EPiServer.Shell.dll
Version: 11.20.7
Syntax
public class ModuleRouteCollection : RouteBase, IEnumerable<RouteBase>, IEnumerable

Constructors

ModuleRouteCollection(String)

Declaration
public ModuleRouteCollection(string routePath)
Parameters
Type Name Description
System.String routePath

Properties

RoutePath

Declaration
public string RoutePath { get; }
Property Value
Type Description
System.String

Methods

Add(String, RouteBase)

Declaration
public RouteBase Add(string moduleName, RouteBase route)
Parameters
Type Name Description
System.String moduleName
System.Web.Routing.RouteBase route
Returns
Type Description
System.Web.Routing.RouteBase

GetEnumerator()

Declaration
public IEnumerator<RouteBase> GetEnumerator()
Returns
Type Description
System.Collections.Generic.IEnumerator<System.Web.Routing.RouteBase>

GetRouteData(HttpContextBase)

Declaration
public override RouteData GetRouteData(HttpContextBase httpContext)
Parameters
Type Name Description
System.Web.HttpContextBase httpContext
Returns
Type Description
System.Web.Routing.RouteData

GetVirtualPath(RequestContext, RouteValueDictionary)

Declaration
public override VirtualPathData GetVirtualPath(RequestContext requestContext, RouteValueDictionary values)
Parameters
Type Name Description
System.Web.Routing.RequestContext requestContext
System.Web.Routing.RouteValueDictionary values
Returns
Type Description
System.Web.Routing.VirtualPathData

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type Description
System.Collections.IEnumerator

Implements

System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable

Extension Methods