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