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;
|AreaName||The area name registered by the current package.|
|Package||The current package defined by the object derived from AreaRegistrationBase.|
|CurrentPackage||Defines the current package, used by applications that need access to the YetaWF.Core.Packages.Package instance.|
|Equals||Determines whether the specified object is equal to the current object.|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.|
|GetCurrentPackage||Retrieves the current package defined by the object derived from AreaRegistrationBase.|
|GetHashCode||Serves as the default hash function.|
|GetType||Gets the Type of the current instance.|
|MemberwiseClone||Creates a shallow copy of the current Object.|
|ReferenceEquals||Determines whether the specified Object instances are the same instance.|
|RegisterAllAreas||Registers all areas in an ASP.NET MVC application.|
|RegisterArea||Used internally to register area routes. Don't mess with this.|
|RegisterPackages||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.|
|ToString||Returns a string that represents the current object.|