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.
- Inheritance
-
Page
View Isolation
- Implements
- Inherited Members
Constructors
PageViewIsolation(int)
Initializes a new instance of the Page
Parameters
pageId
intThe ID of the Page to isolate PageView.Current to.
PageViewIsolation(int, bool)
Initializes a new instance of the Page
Parameters
pageId
intThe ID of the Page to isolate PageView.Current to.
lock
boolRetrieved Page
View object is locked from changing the global eCommerce variables.
PageViewIsolation(int, bool, bool)
Initializes a new instance of the Page
Parameters
pageId
intThe ID of the Page to isolate PageView.Current to.
lock
boolRetrieved Page
View object is locked from changing the global eCommerce variables.isEmailContext
boolRetrieved Page
View object is pointed to email rendering.
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.