Class RepositoryChangeNotificationSystem
Denotes an incrementalization system that recomputes all expressions upon any changes in the repository
Implements
Inherited Members
Namespace: NMF.Expressions
Assembly: NMF.Expressions.Configuration.dll
Syntax
public class RepositoryChangeNotificationSystem : INotifySystem
Constructors
| Edit this page View SourceRepositoryChangeNotificationSystem(IModelRepository)
Creates a new incrementalization system listening to the changes of the given model repository
Declaration
public RepositoryChangeNotificationSystem(IModelRepository repository)
Parameters
Type | Name | Description |
---|---|---|
IModelRepository | repository |
Properties
| Edit this page View SourceRepository
Gets the model repository that is observed for changes
Declaration
public IModelRepository Repository { get; }
Property Value
Type | Description |
---|---|
IModelRepository |
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 |