Class IncrementalFunc<T1, TResult>
- Namespace
- NMF.Expressions
- Assembly
- NMF.Expressions.Utilities.dll
Represents a function class which tracks any calls
public class IncrementalFunc<T1, TResult>
Type Parameters
T1
The type of argument 1
TResult
The result type
- Inheritance
-
IncrementalFunc<T1, TResult>
- Inherited Members
- Extension Methods
Constructors
IncrementalFunc(ObservingFunc<T1, TResult>)
Create an incremental func for the given expression
public IncrementalFunc(ObservingFunc<T1, TResult> func)
Parameters
func
ObservingFunc<T1, TResult>The expression that should be observed
IncrementalFunc(Expression<Func<T1, TResult>>)
Create an incremental func for the given expression
public IncrementalFunc(Expression<Func<T1, TResult>> func)
Parameters
func
Expression<Func<T1, TResult>>The expression that should be observed
Properties
this[T1]
Gets the function value for the given arguments
public TResult this[T1 arg1] { get; }
Parameters
arg1
T1Input argument 1
Property Value
- TResult
The current function valur for the provided argument
Methods
GetNotifyValue(T1)
Gets the changable value for the given arguments
public INotifyValue<TResult> GetNotifyValue(T1 arg1)
Parameters
arg1
T1Argument 1
Returns
- INotifyValue<TResult>
A changable function value