Class EvaluatorTypeResolver
Implementation of IGetsEvaluatorForExpressionType which uses a System.IServiceProvider to resolve expression evaluators.
Inheritance
System.Object
EvaluatorTypeResolver
Implements
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 EvaluatorTypeResolver : IGetsEvaluatorForExpressionType
Constructors
| Improve this Doc View SourceEvaluatorTypeResolver(IRegistersExpressionEvaluator, IServiceProvider)
Initializes a new instance of the EvaluatorTypeResolver class.
Declaration
public EvaluatorTypeResolver(IRegistersExpressionEvaluator registry, IServiceProvider resolver)
Parameters
Type | Name | Description |
---|---|---|
IRegistersExpressionEvaluator | registry | Registry. |
System.IServiceProvider | resolver | Resolver. |
Methods
| Improve this Doc View SourceGetEvaluator(String)
Gets the evaluator which is appropriate for use with the specified expressionType
.
Declaration
public IEvaluatesExpression GetEvaluator(string expressionType)
Parameters
Type | Name | Description |
---|---|---|
System.String | expressionType | Expression type. |
Returns
Type | Description |
---|---|
IEvaluatesExpression | The evaluator. |