Show / Hide Table of Contents

Class ConfiguredNotifySystem

Denotes a notify system that incrementalizes functions based on a configuration

Inheritance
object
ConfiguredNotifySystem
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 ConfiguredNotifySystem : INotifySystem

Constructors

| Edit this page View Source

ConfiguredNotifySystem(IModelRepository, Configuration, IncrementalizationStrategy)

Creates a new configured notify system

Declaration
public ConfiguredNotifySystem(IModelRepository repository, Configuration configuration, IncrementalizationStrategy defaultStrategy = IncrementalizationStrategy.InstructionLevel)
Parameters
Type Name Description
IModelRepository repository

The model repository

Configuration configuration

The configuration

IncrementalizationStrategy defaultStrategy

The default strategy to chose if there is no configuration entry

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

CreateLocal<T, TVar>(INotifyExpression<T>, INotifyExpression<TVar>, out string)

Declaration
public INotifyExpression<T> CreateLocal<T, TVar>(INotifyExpression<T> inner, INotifyExpression<TVar> localVariable, out string paramName)
Parameters
Type Name Description
INotifyExpression<T> inner
INotifyExpression<TVar> localVariable
string paramName
Returns
Type Description
INotifyExpression<T>
Type Parameters
Name Description
T
TVar
| 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