Class SetupContentRedirect
Page extension for redirection to admin/setup.aspx when no content is installed
Inheritance
Inherited Members
Namespace: EPiServer.Web.PageExtensions
Assembly: EPiServer.dll
Version: 9.12.2Syntax
[Obsolete("This page plug-in is no longer used")]
public class SetupContentRedirect
Constructors
SetupContentRedirect()
Initializes a new instance of the SetupContentRedirect class.
Declaration
public SetupContentRedirect()
SetupContentRedirect(PageBase)
Initializes a new instance of the SetupContentRedirect class.
Declaration
[Obsolete("Create a new instance and call Attach instead")]
public SetupContentRedirect(PageBase page)
Parameters
Type | Name | Description |
---|---|---|
PageBase | page | for which this extension instance is created |
Properties
OptionFlag
Flag value to determine if this plug in should be enabled.
Declaration
public static int OptionFlag { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Page
Gets or sets the page for which this extension instance is loaded
Declaration
public PageBase Page { get; }
Property Value
Type | Description |
---|---|
PageBase | The page. |
Methods
Attach(PageBase)
Attach to a PageBase class.
Declaration
public void Attach(PageBase page)
Parameters
Type | Name | Description |
---|---|---|
PageBase | page | The page to attach to. |
Initialize(Int32)
Method called at system startup to initialize this plug in.
Declaration
public static void Initialize(int optionFlag)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | optionFlag | The option flag value assigned to this plug in. |
Remarks
Using the plugin attribute [PagePlugIn] requires the class to contain a static void method named "Initialize" which will be called to attach to suitable event handlers.