Class ExpressionSlimExtensions
Provides a set of extension methods for expressions and lightweight expressions.
Inheritance
Namespace: System.Linq.Expressions
Assembly: Nuqleon.Linq.Expressions.Bonsai.dll
Syntax
public static class ExpressionSlimExtensions : Object
  Methods
ToExpression(ExpressionSlim)
Converts the lightweight representation of an expression to an expression.
Declaration
public static Expression ToExpression(this ExpressionSlim expression)
  Parameters
| Type | Name | Description | 
|---|---|---|
| ExpressionSlim | expression | Slim expression to convert.  | 
      
Returns
| Type | Description | 
|---|---|
| System.Linq.Expressions.Expression | Expression represented by the slim expression.  | 
      
ToExpression(ExpressionSlim, IExpressionFactory)
Converts the lightweight representation of an expression to an expression using the specified expression factory.
Declaration
public static Expression ToExpression(this ExpressionSlim expression, IExpressionFactory factory)
  Parameters
| Type | Name | Description | 
|---|---|---|
| ExpressionSlim | expression | Slim expression to convert.  | 
      
| IExpressionFactory | factory | The expression factory to use.  | 
      
Returns
| Type | Description | 
|---|---|
| System.Linq.Expressions.Expression | Expression represented by the slim expression.  | 
      
ToExpression(ExpressionSlim, IExpressionFactory, IReflectionProvider)
Converts the lightweight representation of an expression to an expression using the specified expression factory and reflection provider.
Declaration
public static Expression ToExpression(this ExpressionSlim expression, IExpressionFactory factory, IReflectionProvider provider)
  Parameters
| Type | Name | Description | 
|---|---|---|
| ExpressionSlim | expression | Slim expression to convert.  | 
      
| IExpressionFactory | factory | The expression factory to use.  | 
      
| IReflectionProvider | provider | The reflection provider to use.  | 
      
Returns
| Type | Description | 
|---|---|
| System.Linq.Expressions.Expression | Expression represented by the slim expression.  | 
      
ToExpressionSlim(Expression)
Converts the specified expression to a lightweight representation.
Declaration
public static ExpressionSlim ToExpressionSlim(this Expression expression)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Linq.Expressions.Expression | expression | Expression to convert.  | 
      
Returns
| Type | Description | 
|---|---|
| ExpressionSlim | Lightweight representation of the specified expression.  | 
      
ToExpressionSlim(Expression, IExpressionSlimFactory)
Converts the specified expression to a lightweight representation using the specified expression factory.
Declaration
public static ExpressionSlim ToExpressionSlim(this Expression expression, IExpressionSlimFactory factory)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Linq.Expressions.Expression | expression | Expression to convert.  | 
      
| IExpressionSlimFactory | factory | The expression factory to use.  | 
      
Returns
| Type | Description | 
|---|---|
| ExpressionSlim | Lightweight representation of the specified expression.  |