Show / Hide Table of Contents

Class ContextAllVariablesAndValuesProvider

Implementation of IGetsAllVariablesFromContext which prefers definitions in the order:

Inheritance
System.Object
ContextAllVariablesAndValuesProvider
Implements
IGetsAllVariablesFromContext
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 ContextAllVariablesAndValuesProvider : IGetsAllVariablesFromContext

Constructors

| Improve this Doc View Source

ContextAllVariablesAndValuesProvider(IGetsBuiltinContextsProvider, RenderingConfig)

Initializes a new instance of the ContextAllVariablesAndValuesProvider class.

Declaration
public ContextAllVariablesAndValuesProvider(IGetsBuiltinContextsProvider builtinContextsProviderFactory, RenderingConfig config)
Parameters
Type Name Description
IGetsBuiltinContextsProvider builtinContextsProviderFactory

Builtin contexts provider factory.

RenderingConfig config

Config.

Methods

| Improve this Doc View Source

GetAllVariablesAsync(ExpressionContext)

Gets all of the variables & corresponding values from the specified context.

Declaration
public Task<IDictionary<string, object>> GetAllVariablesAsync(ExpressionContext context)
Parameters
Type Name Description
ExpressionContext context

An expression context.

Returns
Type Description
System.Threading.Tasks.Task<System.Collections.Generic.IDictionary<System.String, System.Object>>

A dictionary of variables and values.

Implements

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