Show / Hide Table of Contents

Namespace ZptSharp.Expressions

Classes

AbortZptActionToken

An object which indicates that the current ZPT action should be cancelled/aborted.

AlphabeticValueGenerator

Implementation of IGetsAlphabeticValueForNumber which creates and returns alphabetic strings.

BuiltinContextsProvider

Provides the built-in contexts which are inherent to the TALES specification. These are generally accessible as if they were root objects within a path expression. If, for example, their names have been overwritten they may alternatively be referenced explicitly with the CONTEXTS reserved variable name.

BuiltinContextsProviderFactory

Implementation of IGetsBuiltinContextsProvider which uses dependency injection to backfill the other dependencies, as well as the context & config. This may also return the contexts provider from RootContextsProvider if it is not-null.

ConfiguredDefaultExpressionTypeDecorator

Decorator for the IGetsExpressionType service. If the wrapped service does not produce a non-null result, then this decorator returns the DefaultExpressionType.

ContextAllVariablesAndValuesProvider

Implementation of IGetsAllVariablesFromContext which prefers definitions in the order:

DefinedVariablesOnlyTalesValueForExpressionContextAdapter

Implementation of IGetsNamedTalesValue which exposes defined (local & global) variables from the wrapped ExpressionContext.

ErrorHandlingContext

A model/contaier object which represents a context and additionally a handler which may be able to handle errors encountered during context processing.

ErrorHandlingResult

Gets the result of an attempt to handle an error.

EvaluationException

Exception raised when there is a problem evaluating an expression. See also: IEvaluatesExpression.

EvaluatorTypeRegistry

Implementation of IRegistersExpressionEvaluator which uses a in-memory dictionary to maintain registrations of evaluator types.

EvaluatorTypeResolver

Implementation of IGetsEvaluatorForExpressionType which uses a System.IServiceProvider to resolve expression evaluators.

ExpressionContext

An object which provides contextual values for the rendering of TALES expressions.

ExpressionContextExtensions

Extension methods for ExpressionContext.

ExpressionEvaluatorExtensions

Extension methods used with an IEvaluatesExpression.

ExpressionTypeProviderFactory

Default implementation of IGetsExpressionTypeProvider.

GlobalVariablesOnlyTalesValueForExpressionContextAdapter

Implementation of IGetsNamedTalesValue which exposes global variables from the wrapped ExpressionContext.

LocalVariablesOnlyTalesValueForExpressionContextAdapter

Implementation of IGetsNamedTalesValue which exposes local variables from the wrapped ExpressionContext.

NamedTalesValueForExpressionContextAdapter

A wrapper/adapter for an instance of ExpressionContext which allows it to be used as an instance of IGetsNamedTalesValue.

NoEvaluatorForExpressionTypeException

Raised when an implementation of IGetsEvaluatorForExpressionType cannot get an appropriate evaluator for an expression type.

PrefixExpressionTypeProvider

Implementation of IGetsExpressionType which reads the expression prefix. This class also implements IRemovesPrefixFromExpression.

RegistryBasedExpressionEvaluator

An implementation of IEvaluatesExpression which makes use of the registry pattern to select and delegate execution to another implementation (of the same interface). This selection occurs based upon the expression type.

Additionally, when delegating to an implementation of IEvaluatesExpression from the registry, any expression-type prefix upon the expression is removed before this delegation occurs.

RepetitionInfo

Provides contextual information about a repetition/iteration. This is used in looping constructs.

RomanNumeralGenerator

Implementation of IGetsRomanNumeralForNumber which generates roman numerals from integers.

RootContextConfigHelper

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

StructuredMarkupObjectAdapter

An implementation of IGetsStructuredMarkup which wraps any object, exposing its Object.ToString() method via GetMarkupAsync().

WellKnownExpressionPrefix

A container for runtime constants representing the built-in types of TALES expression.

Structs

GetValueResult

Represents the outcome of TryGetValueAsync(String, CancellationToken)

Interfaces

IEvaluatesExpression

An object which evaluates and returns the result of a TALES expression. This is the core interface for an "expression evaluator".

IGetsAllVariablesFromContext

An object which can get all of the variable definitions and their corresponding values from an ExpressionContext.

IGetsAlphabeticValueForNumber

An object which can get an alphabetic reference for a specified non-negative integer.

IGetsBuiltinContextsProvider

An object which gets an instance of BuiltinContextsProvider for a specified expression context and rendering configuration.

IGetsDictionaryOfNamedTalesValues

A specialisation of IGetsNamedTalesValue which can provide a dictionary of many named TALES values.

IGetsEvaluatorForExpressionType

An object which chooses a strategy (an appropriate implementation of IEvaluatesExpression) for a specified expression type.

IGetsExpressionType

An object which can determine the string identifier which indicates an expression type. This is typically a prefix to the expression body.

IGetsExpressionTypeProvider

An object which may be used as a factory for instances of IGetsExpressionType.

IGetsNamedTalesValue

An object which provides its own logic for getting named values when resolving a TALES expression.

IGetsRomanNumeralForNumber

An object which will get the roman numereral version of a specified non-zero, non-negative number. Roman numerals are generated and returned in uppercase, using the English/Latin alphabet (invariant culture).

IRegistersExpressionEvaluator

An object which is used to register implementations of IEvaluatesExpression to be used for specific expression types.

IRemovesPrefixFromExpression

An object which can get a version of a TALES expression where its expression-type prefix (if any) has been removed.

In This Article
Back to top Generated by DocFX