SaaS CMS has officially launched! Learn more now.

Class SetupContentRedirect

Page extension for redirection to admin/setup.aspx when no content is installed

Inheritance
System.Object
SetupContentRedirect
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Web.PageExtensions
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
[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.

Extension Methods