Table of Contents

Class PageViewIsolation

Namespace
Dynamicweb.Frontend
Assembly
Dynamicweb.dll

PageViewIsolation isolates PageView.Current to the Page with the ID given in the Constructor. The PageView is isolated for as long as this object has not been disposed.

public sealed class PageViewIsolation : IDisposable
Inheritance
PageViewIsolation
Implements
Inherited Members

Constructors

PageViewIsolation(int)

Initializes a new instance of the PageViewIsolation class. This isolated PageView.Current to the page with the given ID. REMEMBER TO DISPOSE OR ISOLATION WILL NOT BE RELEASED!

public PageViewIsolation(int pageId)

Parameters

pageId int

The ID of the Page to isolate PageView.Current to.

PageViewIsolation(int, bool)

Initializes a new instance of the PageViewIsolation class. This isolated PageView.Current to the page with the given ID. REMEMBER TO DISPOSE OR ISOLATION WILL NOT BE RELEASED!

public PageViewIsolation(int pageId, bool @lock)

Parameters

pageId int

The ID of the Page to isolate PageView.Current to.

lock bool

Retrieved PageView object is locked from changing the global eCommerce variables.

PageViewIsolation(int, bool, bool)

Initializes a new instance of the PageViewIsolation class. This isolated PageView.Current to the page with the given ID. REMEMBER TO DISPOSE OR ISOLATION WILL NOT BE RELEASED!

public PageViewIsolation(int pageId, bool @lock, bool isEmailContext)

Parameters

pageId int

The ID of the Page to isolate PageView.Current to.

lock bool

Retrieved PageView object is locked from changing the global eCommerce variables.

isEmailContext bool

Retrieved PageView object is pointed to email rendering.

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()
To top