Table of Contents

Class BindingBuilder

Namespace
NRules.RuleModel.Builders
Assembly
NRules.RuleModel.dll

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 LambdaExpression

Expression 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 Type

Type of the result.