Table of Contents

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

Namespace
NMF.Expressions
Assembly
NMF.Expressions.dll

Represents an observable expression with 5 input parameters

public class 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 result type of the observing func

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

Constructors

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

Creates a new observable expression for the given expression

public ObservingFunc(Expression<Func<T1, T2, T3, T4, T5, TResult>> expression)

Parameters

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

The expression that is to be observed

Properties

IsReversable

Gets a value indicating whether this function can be reversed

public virtual bool IsReversable { get; }

Property Value

bool

Methods

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

Invokes the expression

[ObservableProxy(typeof(ObservingFunc<,,,,,>), "Observe", false)]
public TResult Evaluate(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

TResult

An observable value that keeps track of any changes

EvaluatePartial(INotifyValue<T1>)

Invokes the expression partially

[ObservableProxy(typeof(ObservingFunc<,,,,,>), "ObservePartial", false)]
public Func<T2, T3, T4, T5, TResult> EvaluatePartial(INotifyValue<T1> in1)

Parameters

in1 INotifyValue<T1>

The input parameter 1

Returns

Func<T2, T3, T4, T5, TResult>

An observable value that keeps track of any changes

EvaluatePartial(INotifyValue<T1>, INotifyValue<T2>)

Invokes the expression partially

[ObservableProxy(typeof(ObservingFunc<,,,,,>), "ObservePartial", false)]
public Func<T3, T4, T5, TResult> EvaluatePartial(INotifyValue<T1> in1, INotifyValue<T2> in2)

Parameters

in1 INotifyValue<T1>

The input parameter 1

in2 INotifyValue<T2>

The input parameter 2

Returns

Func<T3, T4, T5, TResult>

An observable value that keeps track of any changes

EvaluatePartial(INotifyValue<T1>, INotifyValue<T2>, INotifyValue<T3>)

Invokes the expression partially

[ObservableProxy(typeof(ObservingFunc<,,,,,>), "ObservePartial", false)]
public Func<T4, T5, TResult> EvaluatePartial(INotifyValue<T1> in1, INotifyValue<T2> in2, INotifyValue<T3> in3)

Parameters

in1 INotifyValue<T1>

The input parameter 1

in2 INotifyValue<T2>

The input parameter 2

in3 INotifyValue<T3>

The input parameter 3

Returns

Func<T4, T5, TResult>

An observable value that keeps track of any changes

EvaluatePartial(INotifyValue<T1>, INotifyValue<T2>, INotifyValue<T3>, INotifyValue<T4>)

Invokes the expression partially

[ObservableProxy(typeof(ObservingFunc<,,,,,>), "ObservePartial", false)]
public Func<T5, TResult> EvaluatePartial(INotifyValue<T1> in1, INotifyValue<T2> in2, INotifyValue<T3> in3, INotifyValue<T4> in4)

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

Returns

Func<T5, TResult>

An observable value that keeps track of any changes

EvaluatePartial(T1)

Invokes the expression partially

[ObservableProxy(typeof(ObservingFunc<,,,,,>), "ObservePartial", false)]
public Func<T2, T3, T4, T5, TResult> EvaluatePartial(T1 in1)

Parameters

in1 T1

The input parameter 1

Returns

Func<T2, T3, T4, T5, TResult>

An observable value that keeps track of any changes

EvaluatePartial(T1, T2)

Invokes the expression partially

[ObservableProxy(typeof(ObservingFunc<,,,,,>), "ObservePartial", false)]
public Func<T3, T4, T5, TResult> EvaluatePartial(T1 in1, T2 in2)

Parameters

in1 T1

The input parameter 1

in2 T2

The input parameter 2

Returns

Func<T3, T4, T5, TResult>

An observable value that keeps track of any changes

EvaluatePartial(T1, T2, T3)

Invokes the expression partially

[ObservableProxy(typeof(ObservingFunc<,,,,,>), "ObservePartial", false)]
public Func<T4, T5, TResult> EvaluatePartial(T1 in1, T2 in2, T3 in3)

Parameters

in1 T1

The input parameter 1

in2 T2

The input parameter 2

in3 T3

The input parameter 3

Returns

Func<T4, T5, TResult>

An observable value that keeps track of any changes

EvaluatePartial(T1, T2, T3, T4)

Invokes the expression partially

[ObservableProxy(typeof(ObservingFunc<,,,,,>), "ObservePartial", false)]
public Func<T5, TResult> EvaluatePartial(T1 in1, T2 in2, T3 in3, T4 in4)

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

Returns

Func<T5, TResult>

An observable value that keeps track of any changes

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

Creates a new observable expression from the given expression

public static ObservingFunc<T1, T2, T3, T4, T5, TResult> FromExpression(Expression<Func<T1, T2, T3, T4, T5, TResult>> expression)

Parameters

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

The expression that is to be observed

Returns

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

An observable function

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

Invokes the expression

public virtual 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 virtual 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

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

Invokes the expression

public INotifyValue<TResult> Observe(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

INotifyValue<TResult>

An observable value that keeps track of any changes

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

Invokes the expression

public INotifyValue<TResult> Observe(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

INotifyValue<TResult>

An observable value that keeps track of any changes

ObservePartial(INotifyValue<T1>)

Invokes the expression partially

public ObservingFunc<T2, T3, T4, T5, TResult> ObservePartial(INotifyValue<T1> in1)

Parameters

in1 INotifyValue<T1>

The input parameter 1

Returns

ObservingFunc<T2, T3, T4, T5, TResult>

An observable value that keeps track of any changes

ObservePartial(INotifyValue<T1>, INotifyValue<T2>)

Invokes the expression partially

public ObservingFunc<T3, T4, T5, TResult> ObservePartial(INotifyValue<T1> in1, INotifyValue<T2> in2)

Parameters

in1 INotifyValue<T1>

The input parameter 1

in2 INotifyValue<T2>

The input parameter 2

Returns

ObservingFunc<T3, T4, T5, TResult>

An observable value that keeps track of any changes

ObservePartial(INotifyValue<T1>, INotifyValue<T2>, INotifyValue<T3>)

Invokes the expression partially

public ObservingFunc<T4, T5, TResult> ObservePartial(INotifyValue<T1> in1, INotifyValue<T2> in2, INotifyValue<T3> in3)

Parameters

in1 INotifyValue<T1>

The input parameter 1

in2 INotifyValue<T2>

The input parameter 2

in3 INotifyValue<T3>

The input parameter 3

Returns

ObservingFunc<T4, T5, TResult>

An observable value that keeps track of any changes

ObservePartial(INotifyValue<T1>, INotifyValue<T2>, INotifyValue<T3>, INotifyValue<T4>)

Invokes the expression partially

public ObservingFunc<T5, TResult> ObservePartial(INotifyValue<T1> in1, INotifyValue<T2> in2, INotifyValue<T3> in3, INotifyValue<T4> in4)

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

Returns

ObservingFunc<T5, TResult>

An observable value that keeps track of any changes

ToString()

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

public override string ToString()

Returns

string

Operators

implicit operator ObservingFunc<T1, T2, T3, T4, T5, TResult>(Expression<Func<T1, T2, T3, T4, T5, TResult>>)

Creates a new observable expression

public static implicit operator ObservingFunc<T1, T2, T3, T4, T5, TResult>(Expression<Func<T1, T2, T3, T4, T5, TResult>> expression)

Parameters

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

The expression that is to be observed

Returns

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

An observable function