Show / Hide Table of Contents

Class RepositoryChangeNotificationSystem

Denotes an incrementalization system that recomputes all expressions upon any changes in the repository

Inheritance
object
RepositoryChangeNotificationSystem
Implements
INotifySystem
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: NMF.Expressions
Assembly: NMF.Expressions.Configuration.dll
Syntax
public class RepositoryChangeNotificationSystem : INotifySystem

Constructors

| Edit this page View Source

RepositoryChangeNotificationSystem(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 Source

Repository

Gets the model repository that is observed for changes

Declaration
public IModelRepository Repository { get; }
Property Value
Type Description
IModelRepository

Methods

| Edit this page View Source

CreateExpression(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

| Edit this page View Source

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

| Edit this page View Source

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

Implements

INotifySystem

Extension Methods

ExpressionExtensions.AsOne<T>(T)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX