Class RootContextConfigHelper
An implementation of IConfiguresRootContext which allows setting of global variables into an expression context.
Inheritance
System.Object
RootContextConfigHelper
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ZptSharp.Expressions
Assembly: ZptSharp.dll
Syntax
public class RootContextConfigHelper : IConfiguresRootContext
Constructors
| Improve this Doc View SourceRootContextConfigHelper(ExpressionContext)
Initializes a new instance of the RootContextConfigHelper class.
Declaration
public RootContextConfigHelper(ExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
ExpressionContext | context | Context. |
Methods
| Improve this Doc View SourceAddToRootContext(String, Object)
Adds a named value to the root ZPT context.
Declaration
public void AddToRootContext(string name, object value)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the value to be added. |
System.Object | value | The value to be added for the name. |