Show / Hide Table of Contents

Class InstructionLevelNotifySystem

Represents an implementation of an incremental computation system on instruction level

Inheritance
object
InstructionLevelNotifySystem
ModelNotifySystem
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.dll
Syntax
public class InstructionLevelNotifySystem : INotifySystem

Constructors

| Edit this page View Source

InstructionLevelNotifySystem()

Creates a new instance

Declaration
public InstructionLevelNotifySystem()

Properties

| Edit this page View Source

Instance

Gets the default instruction-level-incremental system

Declaration
public static InstructionLevelNotifySystem Instance { get; }
Property Value
Type Description
InstructionLevelNotifySystem

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)

Creates a local variable expression for the given expression and the given local variable

Declaration
public INotifyExpression<T> CreateLocal<T, TVar>(INotifyExpression<T> inner, INotifyExpression<TVar> localVariable, out string paramName)
Parameters
Type Name Description
INotifyExpression<T> inner

The expression for which the local variable should be created

INotifyExpression<TVar> localVariable

The local variable

string paramName

Returns a parameter name under which the local variable can be referenced

Returns
Type Description
INotifyExpression<T>

The inner expression withthe local variable attached to it

Type Parameters
Name Description
T

The type of the expression whose scope should be used to create the local variable

TVar

The type of the variable

| 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