Class PagePlugInAttribute
The attribute class used to identify page extensions.
Inherited Members
Namespace: EPiServer.PlugIn
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public sealed class PagePlugInAttribute : PlugInAttribute
Remarks
Page extensions are plug-ins that are automatically instantiated and used for all ASP.NET pages that
derive (directly or indirectly) from the EPi
Constructors
PagePlugInAttribute()
Initializes a new instance of the Page
Declaration
public PagePlugInAttribute()
PagePlugInAttribute(String, String)
Initializes a new instance of the Page
Declaration
public PagePlugInAttribute(string name, string description)
Parameters
Type | Name | Description |
---|---|---|
System. |
name | The name of the page extension. |
System. |
description | The description for the page extension. |
Remarks
Initializes the Display
PagePlugInAttribute(String, String, String)
Initializes a new instance of the Page
Declaration
public PagePlugInAttribute(string name, string description, string languagePath)
Parameters
Type | Name | Description |
---|---|---|
System. |
name | The name of the page extension. |
System. |
description | The description for the page extension. |
System. |
languagePath | The language path to use when trying to look up translations for the DisplayName and Description properties. |
Methods
GetOptionFlag()
Gets the option flag.
Declaration
public static int GetOptionFlag()
Returns
Type | Description |
---|---|
System. |
An System. |
Remarks
Note that this is used as a bitmap to determine which page extensions to enable. This effectively limits the number of installed page extensions to 32.
Start()
Initialization method called by the plug-in system.
Declaration
public static void Start()
Remarks
This method is called to set up all page extensions by invoking the static Initialize method on the class that the PagePlugInAttribute is applied to.