Class PromotionNotifySystem
Denotes an incrementalization system based on argument promotion
Implements
Inherited Members
Namespace: NMF.Expressions
Assembly: NMF.Expressions.Models.dll
Syntax
public class PromotionNotifySystem : INotifySystem
Methods
| Edit this page View SourceCreateExpression(Expression, IEnumerable<ParameterExpression>, IDictionary<string, object>)
Creates an incremental expression for the given code expression
Declaration
public INotifyExpression CreateExpression(Expression expression, IEnumerable<ParameterExpression> parameters, IDictionary<string, object> parameterMappings)
Parameters
Type | Name | Description |
---|---|---|
Expression | expression | The expression from which to create an incremental expression |
IEnumerable<ParameterExpression> | parameters | The parameters of the expression |
IDictionary<string, object> | parameterMappings | A given mapping of parameters |
Returns
Type | Description |
---|---|
INotifyExpression | An incremental expression object |
CreateExpression<T>(Expression, IEnumerable<ParameterExpression>, IDictionary<string, object>)
Creates an incremental expression for the given code expression
Declaration
public INotifyExpression<T> CreateExpression<T>(Expression expression, IEnumerable<ParameterExpression> parameters, IDictionary<string, object> parameterMappings)
Parameters
Type | Name | Description |
---|---|---|
Expression | expression | The expression from which to create an incremental expression |
IEnumerable<ParameterExpression> | parameters | The parameters of the expression |
IDictionary<string, object> | parameterMappings | A given mapping of parameters |
Returns
Type | Description |
---|---|
INotifyExpression<T> | An incremental expression object |
Type Parameters
Name | Description |
---|---|
T | The type of the expression |
CreateReversableExpression<T>(Expression, IEnumerable<ParameterExpression>, IDictionary<string, object>)
Creates an incremental expression for the given code expression
Declaration
public INotifyReversableExpression<T> CreateReversableExpression<T>(Expression expression, IEnumerable<ParameterExpression> parameters, IDictionary<string, object> parameterMappings)
Parameters
Type | Name | Description |
---|---|---|
Expression | expression | The expression from which to create an incremental expression |
IEnumerable<ParameterExpression> | parameters | The parameters of the expression |
IDictionary<string, object> | parameterMappings | A given mapping of parameters |
Returns
Type | Description |
---|---|
INotifyReversableExpression<T> | An incremental expression object |
Type Parameters
Name | Description |
---|---|
T | The type of the expression |