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