Table of Contents

Class ReversableObservingFunc<T1, T2, T3, T4, T5, TResult>

Namespace
NMF.Expressions
Assembly
NMF.Expressions.dll

Represents an observable expression with 5 input parameters and a custom update handler

public class ReversableObservingFunc<T1, T2, T3, T4, T5, TResult> : ObservingFunc<T1, T2, T3, T4, T5, TResult>

Type Parameters

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

Inheritance
ObservingFunc<T1, T2, T3, T4, T5, TResult>
ReversableObservingFunc<T1, T2, T3, T4, T5, TResult>
Inherited Members
Extension Methods

Constructors

ReversableObservingFunc(Expression<Func<T1, T2, T3, T4, T5, TResult>>, Action<T1, T2, T3, T4, T5, TResult>)

Creates a new observable expression for the given expression

public ReversableObservingFunc(Expression<Func<T1, T2, T3, T4, T5, TResult>> expression, Action<T1, T2, T3, T4, T5, TResult> updateHandler)

Parameters

expression Expression<Func<T1, T2, T3, T4, T5, TResult>>

The expression that is to be observed

updateHandler Action<T1, T2, T3, T4, T5, TResult>

A function that is executed when the result is changed

Properties

IsReversable

Gets a value indicating whether this function can be reversed

public override bool IsReversable { get; }

Property Value

bool

UpdateHandler

The method that handles value updates for this func

public Action<T1, T2, T3, T4, T5, TResult> UpdateHandler { get; }

Property Value

Action<T1, T2, T3, T4, T5, TResult>

Methods

InvokeReversable(INotifyValue<T1>, INotifyValue<T2>, INotifyValue<T3>, INotifyValue<T4>, INotifyValue<T5>)

Invokes the expression

public override INotifyReversableValue<TResult> InvokeReversable(INotifyValue<T1> in1, INotifyValue<T2> in2, INotifyValue<T3> in3, INotifyValue<T4> in4, INotifyValue<T5> in5)

Parameters

in1 INotifyValue<T1>

The input parameter 1

in2 INotifyValue<T2>

The input parameter 2

in3 INotifyValue<T3>

The input parameter 3

in4 INotifyValue<T4>

The input parameter 4

in5 INotifyValue<T5>

The input parameter 5

Returns

INotifyReversableValue<TResult>

An observable value that keeps track of any changes

InvokeReversable(T1, T2, T3, T4, T5)

Invokes the expression

public override INotifyReversableValue<TResult> InvokeReversable(T1 in1, T2 in2, T3 in3, T4 in4, T5 in5)

Parameters

in1 T1

The input parameter 1

in2 T2

The input parameter 2

in3 T3

The input parameter 3

in4 T4

The input parameter 4

in5 T5

The input parameter 5

Returns

INotifyReversableValue<TResult>

An observable value that keeps track of any changes