Class RepositoryChangeNotificationSystem
- Namespace
- NMF.Expressions
- Assembly
- NMF.Expressions.Configuration.dll
Denotes an incrementalization system that recomputes all expressions upon any changes in the repository
public class RepositoryChangeNotificationSystem : INotifySystem
- Inheritance
-
RepositoryChangeNotificationSystem
- Implements
- Inherited Members
- Extension Methods
Constructors
RepositoryChangeNotificationSystem(IModelRepository)
Creates a new incrementalization system listening to the changes of the given model repository
public RepositoryChangeNotificationSystem(IModelRepository repository)
Parameters
repository
IModelRepository
Properties
Repository
Gets the model repository that is observed for changes
public IModelRepository Repository { get; }
Property Value
Methods
CreateExpression(Expression, IEnumerable<ParameterExpression>, IDictionary<string, object>)
Creates an incremental expression for the given code expression
public INotifyExpression CreateExpression(Expression expression, IEnumerable<ParameterExpression> parameters, IDictionary<string, object> parameterMappings)
Parameters
expression
ExpressionThe expression from which to create an incremental expression
parameters
IEnumerable<ParameterExpression>The parameters of the expression
parameterMappings
IDictionary<string, object>A given mapping of parameters
Returns
- INotifyExpression
An incremental expression object
CreateExpression<T>(Expression, IEnumerable<ParameterExpression>, IDictionary<string, object>)
Creates an incremental expression for the given code expression
public INotifyExpression<T> CreateExpression<T>(Expression expression, IEnumerable<ParameterExpression> parameters, IDictionary<string, object> parameterMappings)
Parameters
expression
ExpressionThe expression from which to create an incremental expression
parameters
IEnumerable<ParameterExpression>The parameters of the expression
parameterMappings
IDictionary<string, object>A given mapping of parameters
Returns
- INotifyExpression<T>
An incremental expression object
Type Parameters
T
The type of the expression
CreateReversableExpression<T>(Expression, IEnumerable<ParameterExpression>, IDictionary<string, object>)
Creates an incremental expression for the given code expression
public INotifyReversableExpression<T> CreateReversableExpression<T>(Expression expression, IEnumerable<ParameterExpression> parameters, IDictionary<string, object> parameterMappings)
Parameters
expression
ExpressionThe expression from which to create an incremental expression
parameters
IEnumerable<ParameterExpression>The parameters of the expression
parameterMappings
IDictionary<string, object>A given mapping of parameters
Returns
- INotifyReversableExpression<T>
An incremental expression object
Type Parameters
T
The type of the expression