Table of Contents

Class DeclarationExtensions

Namespace
NRules.RuleModel
Assembly
NRules.RuleModel.dll
public static class DeclarationExtensions
Inheritance
DeclarationExtensions
Inherited Members

Methods

ToDeclaration(ParameterExpression)

Converts ParameterExpression to a rule element Declaration.

public static Declaration ToDeclaration(this ParameterExpression parameter)

Parameters

parameter ParameterExpression

Parameter expression to convert

Returns

Declaration

Rule element declaration.

ToParameterExpression(Declaration)

Converts rule element Declaration to a ParameterExpression.

public static ParameterExpression ToParameterExpression(this Declaration declaration)

Parameters

declaration Declaration

Declaration to convert.

Returns

ParameterExpression

Parameter expression.