Class IncrementalFunc<T1, T2, T3, T4, T5, TResult>
Represents a function class which tracks any calls
Inherited Members
Namespace: NMF.Expressions
Assembly: NMF.Expressions.Utilities.dll
Syntax
public class IncrementalFunc<T1, T2, T3, T4, T5, TResult>
Type Parameters
Name | Description |
---|---|
T1 | The type of argument 1 |
T2 | The type of argument 2 |
T3 | The type of argument 3 |
T4 | The type of argument 4 |
T5 | The type of argument 5 |
TResult | The result type |
Constructors
| Edit this page View SourceIncrementalFunc(ObservingFunc<T1, T2, T3, T4, T5, TResult>)
Create an incremental func for the given expression
Declaration
public IncrementalFunc(ObservingFunc<T1, T2, T3, T4, T5, TResult> func)
Parameters
Type | Name | Description |
---|---|---|
ObservingFunc<T1, T2, T3, T4, T5, TResult> | func | The expression that should be observed |
IncrementalFunc(Expression<Func<T1, T2, T3, T4, T5, TResult>>)
Create an incremental func for the given expression
Declaration
public IncrementalFunc(Expression<Func<T1, T2, T3, T4, T5, TResult>> func)
Parameters
Type | Name | Description |
---|---|---|
Expression<Func<T1, T2, T3, T4, T5, TResult>> | func | The expression that should be observed |
Properties
| Edit this page View Sourcethis[T1, T2, T3, T4, T5]
Gets the function value for the given arguments
Declaration
public TResult this[T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5] { get; }
Parameters
Type | Name | Description |
---|---|---|
T1 | arg1 | Input argument 1 |
T2 | arg2 | Input argument 2 |
T3 | arg3 | Input argument 3 |
T4 | arg4 | Input argument 4 |
T5 | arg5 | Input argument 5 |
Property Value
Type | Description |
---|---|
TResult | The current function valur for the provided argument |
Methods
| Edit this page View SourceGetNotifyValue(T1, T2, T3, T4, T5)
Gets the changable value for the given arguments
Declaration
public INotifyValue<TResult> GetNotifyValue(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5)
Parameters
Type | Name | Description |
---|---|---|
T1 | arg1 | Argument 1 |
T2 | arg2 | Argument 2 |
T3 | arg3 | Argument 3 |
T4 | arg4 | Argument 4 |
T5 | arg5 | Argument 5 |
Returns
Type | Description |
---|---|
INotifyValue<TResult> | A changable function value |