Class AreaRegistration
Provides a way to register one or more areas in an ASP.NET MVC application.
public abstract class AreaRegistration
- Inheritance
-
AreaRegistration
- Inherited Members
Constructors
AreaRegistration()
Initializes a new instance of the AreaRegistration class.
protected AreaRegistration()
Properties
AreaName
Gets the name of the area to register.
public abstract string AreaName { get; }
Property Value
- string
The name of the area to register.
Methods
RegisterAllAreas()
Registers all areas in an ASP.NET MVC application.
public static void RegisterAllAreas()
RegisterAllAreas(object)
Registers all areas in an ASP.NET MVC application by using the specified user-defined information.
public static void RegisterAllAreas(object state)
Parameters
state
objectAn object that contains user-defined information to pass to the area.
RegisterArea(AreaRegistrationContext)
Registers an area in an ASP.NET MVC application using the specified area's context information.
public abstract void RegisterArea(AreaRegistrationContext context)
Parameters
context
AreaRegistrationContextEncapsulates the information that is required in order to register the area.