Class BindingBuilder
Builder to compose a binding expression element.
public class BindingBuilder : RuleElementBuilder
- Inheritance
-
BindingBuilder
- Inherited Members
Constructors
BindingBuilder()
Initializes a new instance of the BindingBuilder.
public BindingBuilder()
Methods
BindingExpression(LambdaExpression)
Sets a calculated expression on the binding element.
public void BindingExpression(LambdaExpression expression)
Parameters
expression
LambdaExpressionExpression to bind.
ResultType(Type)
Sets type of the result produced by the binding expression. If not provided, this is set to the return type of the binding expression.
public void ResultType(Type resultType)
Parameters
resultType
TypeType of the result.