Hide

YetaWF.BootstrapSkin Package Documentation

Display
Print

YetaWF.Skins.BootstrapSkin.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.Skins.BootstrapSkin
Assembly: YetaWF.BootstrapSkin

Inheritance

Syntax

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

Constructors

PublicAreaRegistrationConstructor.

Properties

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

Methods

PublicInherited from System.ObjectEqualsDetermines whether the specified object is equal to the current object.
ProtectedInherited from System.ObjectFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
PublicInherited from System.ObjectGetHashCodeServes as the default hash function.
PublicInherited from System.ObjectGetTypeGets the Type of the current instance.
ProtectedInherited from System.ObjectMemberwiseCloneCreates a shallow copy of the current Object.
PublicStaticInherited from System.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 System.ObjectToStringReturns a string that represents the current object.

See Also YetaWF.BootstrapSkin PackageYetaWF.Core