Show / Hide Table of Contents

Interface IRegistersExpressionEvaluator

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

Namespace: ZptSharp.Expressions
Assembly: ZptSharp.Abstractions.dll
Syntax
public interface IRegistersExpressionEvaluator

Methods

| Improve this Doc View Source

GetEvaluatorType(String)

Gets the evaluator type for the specified expressionType.

Declaration
Type GetEvaluatorType(string expressionType)
Parameters
Type Name Description
System.String expressionType

Expression type.

Returns
Type Description
System.Type

The evaluator type.

| Improve this Doc View Source

GetRegisteredExpressionTypes()

Gets a collection of all of the registered expression types.

Declaration
IReadOnlyCollection<string> GetRegisteredExpressionTypes()
Returns
Type Description
System.Collections.Generic.IReadOnlyCollection<System.String>

The all registered types.

| Improve this Doc View Source

IsRegistered(String)

Gets a value that indicates whether there is an evaluator type registered for the specified expressionType.

Declaration
bool IsRegistered(string expressionType)
Parameters
Type Name Description
System.String expressionType

Expression type.

Returns
Type Description
System.Boolean

true, if an evaluator type is registered, false otherwise.

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