Class ReversableObservingFunc<T1, T2, T3, T4, T5, TResult>
Represents an observable expression with 5 input parameters and a custom update handler
Inheritance
Inherited Members
Namespace: NMF.Expressions
Assembly: NMF.Expressions.dll
Syntax
public class ReversableObservingFunc<T1, T2, T3, T4, T5, TResult> : ObservingFunc<T1, T2, T3, T4, T5, TResult>
Type Parameters
Name | Description |
---|---|
T1 | The type of the input parameter 1 |
T2 | The type of the input parameter 2 |
T3 | The type of the input parameter 3 |
T4 | The type of the input parameter 4 |
T5 | The type of the input parameter 5 |
TResult | The type of the result |
Constructors
| Edit this page View SourceReversableObservingFunc(Expression<Func<T1, T2, T3, T4, T5, TResult>>, Action<T1, T2, T3, T4, T5, TResult>)
Creates a new observable expression for the given expression
Declaration
public ReversableObservingFunc(Expression<Func<T1, T2, T3, T4, T5, TResult>> expression, Action<T1, T2, T3, T4, T5, TResult> updateHandler)
Parameters
Type | Name | Description |
---|---|---|
Expression<Func<T1, T2, T3, T4, T5, TResult>> | expression | The expression that is to be observed |
Action<T1, T2, T3, T4, T5, TResult> | updateHandler | A function that is executed when the result is changed |
Properties
| Edit this page View SourceIsReversable
Gets a value indicating whether this function can be reversed
Declaration
public override bool IsReversable { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceUpdateHandler
The method that handles value updates for this func
Declaration
public Action<T1, T2, T3, T4, T5, TResult> UpdateHandler { get; }
Property Value
Type | Description |
---|---|
Action<T1, T2, T3, T4, T5, TResult> |
Methods
| Edit this page View SourceInvokeReversable(INotifyValue<T1>, INotifyValue<T2>, INotifyValue<T3>, INotifyValue<T4>, INotifyValue<T5>)
Invokes the expression
Declaration
public override INotifyReversableValue<TResult> InvokeReversable(INotifyValue<T1> in1, INotifyValue<T2> in2, INotifyValue<T3> in3, INotifyValue<T4> in4, INotifyValue<T5> in5)
Parameters
Type | Name | Description |
---|---|---|
INotifyValue<T1> | in1 | The input parameter 1 |
INotifyValue<T2> | in2 | The input parameter 2 |
INotifyValue<T3> | in3 | The input parameter 3 |
INotifyValue<T4> | in4 | The input parameter 4 |
INotifyValue<T5> | in5 | The input parameter 5 |
Returns
Type | Description |
---|---|
INotifyReversableValue<TResult> | An observable value that keeps track of any changes |
Overrides
| Edit this page View SourceInvokeReversable(T1, T2, T3, T4, T5)
Invokes the expression
Declaration
public override INotifyReversableValue<TResult> InvokeReversable(T1 in1, T2 in2, T3 in3, T4 in4, T5 in5)
Parameters
Type | Name | Description |
---|---|---|
T1 | in1 | The input parameter 1 |
T2 | in2 | The input parameter 2 |
T3 | in3 | The input parameter 3 |
T4 | in4 | The input parameter 4 |
T5 | in5 | The input parameter 5 |
Returns
Type | Description |
---|---|
INotifyReversableValue<TResult> | An observable value that keeps track of any changes |