Class DeclarationExtensions
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
ParameterExpressionParameter 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
DeclarationDeclaration to convert.
Returns
- ParameterExpression
Parameter expression.