AreaRegistrationContext.State Property
Gets an object that contains user-defined information to pass to the area.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Property Value
Type: System.ObjectAn object that contains user-defined information to pass to the area.
The State property enables you to pass any type of information to the area that is being registered. For example, you might want to pass some or all of the following information:
A reference to the HttpApplication object.
Repository information.
A reference to a log.
A reference to an Inversion of Control (IOC) container.
Show: