YetaWF.Caching Package Documentation


YetaWF.Modules.Caching.Controllers.AreaRegistration Class

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.

Namespace: YetaWF.Modules.Caching.Controllers
Assembly: YetaWF.Caching



public class AreaRegistration : YetaWF.Core.Controllers.AreaRegistrationBase;




PublicInherited from YetaWF.Core.Controllers.AreaRegistrationBaseAreaNameThe area name registered by the current package.
ProtectedInherited from YetaWF.Core.Controllers.AreaRegistrationBasePackageThe current package defined by the object derived from AreaRegistrationBase.


PublicStaticCurrentPackageDefines the current package, used by applications that need access to the YetaWF.Core.Packages.Package instance.


PublicInherited from objectEqualsDetermines whether the specified object is equal to the current object.
ProtectedInherited from objectFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
ProtectedInherited from YetaWF.Core.Controllers.AreaRegistrationBaseGetCurrentPackageRetrieves the current package defined by the object derived from AreaRegistrationBase.
PublicInherited from objectGetHashCodeServes as the default hash function.
PublicInherited from objectGetTypeGets the Type of the current instance.
ProtectedInherited from objectMemberwiseCloneCreates a shallow copy of the current Object.
PublicStaticInherited from objectReferenceEqualsDetermines whether the specified Object instances are the same instance.
PublicInherited from YetaWF.Core.Controllers.AreaRegistrationBaseRegisterAreaUsed internally to register area routes. Don't mess with this.
PublicStaticInherited from YetaWF.Core.Controllers.AreaRegistrationBaseRegisterPackagesUsed 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.
PublicInherited from objectToStringReturns a string that represents the current object.

See Also YetaWF.Caching PackageYetaWF.Core