MVC area registration class.
An instance of this class is instantiated and initialized during application startup in order to define the MVC area used by this package. Each package defines its own MVC area. The name is derived from the YetaWF.PackageAttributes.PackageAttribute (for the domain portion) and the AssemblyProductAttribute (for the product name), defined in the package's AssemblyInfo.cs source file.
The area name is the concatenation of the domain, followed by an underscore and the product name (e.g., YetaWF_Text).
Applications can reference the current package using the static CurrentPackage property.
Applications do not instantiate this class.
public class AreaRegistration : YetaWF.Core.Controllers.AreaRegistrationBase;
|Defines the current package, used by applications that need access to the YetaWF.Core.Packages.Package instance.
|Determines whether the specified object is equal to the current object.
|Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
|Serves as the default hash function.
|Gets the Type of the current instance.
|Creates a shallow copy of the current Object.
|Determines whether the specified Object instances are the same instance.
|Used internally to register area routes. Don't mess with this.
|Used by tools (i.e., non web apps) that need to explicitly register packages so they have access to functionality provided by packages, beyond the Core package.
|Returns a string that represents the current object.