FunctionEvaluator Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Factory for creating EvalCheck delegates from typed lambda functions.
public static class FunctionEvaluator
type FunctionEvaluator = class
Public Class FunctionEvaluator
- Inheritance
-
FunctionEvaluator
Methods
| Name | Description |
|---|---|
| Create(String, Func<EvalItem,Boolean>) |
Creates a check from a function that takes the full EvalItem. |
| Create(String, Func<EvalItem,EvalCheckResult>) |
Creates a check from a function that takes the full EvalItem and returns a EvalCheckResult. |
| Create(String, Func<String,Boolean>) |
Creates a check from a function that takes the response text and returns a bool. |
| Create(String, Func<String,String,Boolean>) |
Creates a check from a function that takes response and expected text. |