Table of Contents

Class IncrementalFunc<T1, T2, TResult>

Namespace
NMF.Expressions
Assembly
NMF.Expressions.Utilities.dll

Represents a function class which tracks any calls

public class IncrementalFunc<T1, T2, TResult>

Type Parameters

T1

The type of argument 1

T2

The type of argument 2

TResult

The result type

Inheritance
IncrementalFunc<T1, T2, TResult>
Inherited Members
Extension Methods

Constructors

IncrementalFunc(ObservingFunc<T1, T2, TResult>)

Create an incremental func for the given expression

public IncrementalFunc(ObservingFunc<T1, T2, TResult> func)

Parameters

func ObservingFunc<T1, T2, TResult>

The expression that should be observed

IncrementalFunc(Expression<Func<T1, T2, TResult>>)

Create an incremental func for the given expression

public IncrementalFunc(Expression<Func<T1, T2, TResult>> func)

Parameters

func Expression<Func<T1, T2, TResult>>

The expression that should be observed

Properties

this[T1, T2]

Gets the function value for the given arguments

public TResult this[T1 arg1, T2 arg2] { get; }

Parameters

arg1 T1

Input argument 1

arg2 T2

Input argument 2

Property Value

TResult

The current function valur for the provided argument

Methods

GetNotifyValue(T1, T2)

Gets the changable value for the given arguments

public INotifyValue<TResult> GetNotifyValue(T1 arg1, T2 arg2)

Parameters

arg1 T1

Argument 1

arg2 T2

Argument 2

Returns

INotifyValue<TResult>

A changable function value