Class PageViewContext
- Namespace
- Dynamicweb.Frontend
- Assembly
- Dynamicweb.dll
Object for pageview context sensitive information.
public class PageViewContext
- Inheritance
-
PageViewContext
- Inherited Members
Properties
settings
public Dictionary<string, object> settings { get; set; }
Property Value
Methods
GetValue(string)
Gets the value of the specified key in the context.
public object GetValue(string key)
Parameters
key
stringThe key to return the value for.
Returns
- object
The value stored on the key. Nothing if the key does not exist
SetValue(string, object)
Sets the value of an entry in the context.
public void SetValue(string key, object value)
Parameters
Remarks
If the passed key already exists, it is overriden with the new value