Show / Hide Table of Contents

Class RootContextConfigHelper

An implementation of IConfiguresRootContext which allows setting of global variables into an expression context.

Inheritance
System.Object
RootContextConfigHelper
Implements
IConfiguresRootContext
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 Source

RootContextConfigHelper(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 Source

AddToRootContext(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.

Implements

IConfiguresRootContext
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX