Show / Hide Table of Contents

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

Represents an observable expression with 5 input parameters

Inheritance
object
ObservingFunc<T1, T2, T3, T4, T5, TResult>
ReversableObservingFunc<T1, T2, T3, T4, T5, TResult>
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: NMF.Expressions
Assembly: NMF.Expressions.dll
Syntax
public class 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 result type of the observing func

Constructors

| Edit this page View Source

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

Creates a new observable expression for the given expression

Declaration
public ObservingFunc(Expression<Func<T1, T2, T3, T4, T5, TResult>> expression)
Parameters
Type Name Description
Expression<Func<T1, T2, T3, T4, T5, TResult>> expression

The expression that is to be observed

Properties

| Edit this page View Source

IsReversable

Gets a value indicating whether this function can be reversed

Declaration
public virtual bool IsReversable { get; }
Property Value
Type Description
bool

Methods

| Edit this page View Source

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

Invokes the expression

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

An observable value that keeps track of any changes

| Edit this page View Source

EvaluatePartial(INotifyValue<T1>)

Invokes the expression partially

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

The input parameter 1

Returns
Type Description
Func<T2, T3, T4, T5, TResult>

An observable value that keeps track of any changes

| Edit this page View Source

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

Invokes the expression partially

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

The input parameter 1

INotifyValue<T2> in2

The input parameter 2

Returns
Type Description
Func<T3, T4, T5, TResult>

An observable value that keeps track of any changes

| Edit this page View Source

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

Invokes the expression partially

Declaration
[ObservableProxy(typeof(ObservingFunc<,,,,,>), "ObservePartial", false)]
public Func<T4, T5, TResult> EvaluatePartial(INotifyValue<T1> in1, INotifyValue<T2> in2, INotifyValue<T3> in3)
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

Returns
Type Description
Func<T4, T5, TResult>

An observable value that keeps track of any changes

| Edit this page View Source

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

Invokes the expression partially

Declaration
[ObservableProxy(typeof(ObservingFunc<,,,,,>), "ObservePartial", false)]
public Func<T5, TResult> EvaluatePartial(INotifyValue<T1> in1, INotifyValue<T2> in2, INotifyValue<T3> in3, INotifyValue<T4> in4)
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

Returns
Type Description
Func<T5, TResult>

An observable value that keeps track of any changes

| Edit this page View Source

EvaluatePartial(T1)

Invokes the expression partially

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

The input parameter 1

Returns
Type Description
Func<T2, T3, T4, T5, TResult>

An observable value that keeps track of any changes

| Edit this page View Source

EvaluatePartial(T1, T2)

Invokes the expression partially

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

The input parameter 1

T2 in2

The input parameter 2

Returns
Type Description
Func<T3, T4, T5, TResult>

An observable value that keeps track of any changes

| Edit this page View Source

EvaluatePartial(T1, T2, T3)

Invokes the expression partially

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

The input parameter 1

T2 in2

The input parameter 2

T3 in3

The input parameter 3

Returns
Type Description
Func<T4, T5, TResult>

An observable value that keeps track of any changes

| Edit this page View Source

EvaluatePartial(T1, T2, T3, T4)

Invokes the expression partially

Declaration
[ObservableProxy(typeof(ObservingFunc<,,,,,>), "ObservePartial", false)]
public Func<T5, TResult> EvaluatePartial(T1 in1, T2 in2, T3 in3, T4 in4)
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

Returns
Type Description
Func<T5, TResult>

An observable value that keeps track of any changes

| Edit this page View Source

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

Creates a new observable expression from the given expression

Declaration
public static ObservingFunc<T1, T2, T3, T4, T5, TResult> FromExpression(Expression<Func<T1, T2, T3, T4, T5, TResult>> expression)
Parameters
Type Name Description
Expression<Func<T1, T2, T3, T4, T5, TResult>> expression

The expression that is to be observed

Returns
Type Description
ObservingFunc<T1, T2, T3, T4, T5, TResult>

An observable function

| Edit this page View Source

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

Invokes the expression

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

| Edit this page View Source

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

Invokes the expression

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

| Edit this page View Source

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

Invokes the expression

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

An observable value that keeps track of any changes

| Edit this page View Source

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

Invokes the expression

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

An observable value that keeps track of any changes

| Edit this page View Source

ObservePartial(INotifyValue<T1>)

Invokes the expression partially

Declaration
public ObservingFunc<T2, T3, T4, T5, TResult> ObservePartial(INotifyValue<T1> in1)
Parameters
Type Name Description
INotifyValue<T1> in1

The input parameter 1

Returns
Type Description
ObservingFunc<T2, T3, T4, T5, TResult>

An observable value that keeps track of any changes

| Edit this page View Source

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

Invokes the expression partially

Declaration
public ObservingFunc<T3, T4, T5, TResult> ObservePartial(INotifyValue<T1> in1, INotifyValue<T2> in2)
Parameters
Type Name Description
INotifyValue<T1> in1

The input parameter 1

INotifyValue<T2> in2

The input parameter 2

Returns
Type Description
ObservingFunc<T3, T4, T5, TResult>

An observable value that keeps track of any changes

| Edit this page View Source

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

Invokes the expression partially

Declaration
public ObservingFunc<T4, T5, TResult> ObservePartial(INotifyValue<T1> in1, INotifyValue<T2> in2, INotifyValue<T3> in3)
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

Returns
Type Description
ObservingFunc<T4, T5, TResult>

An observable value that keeps track of any changes

| Edit this page View Source

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

Invokes the expression partially

Declaration
public ObservingFunc<T5, TResult> ObservePartial(INotifyValue<T1> in1, INotifyValue<T2> in2, INotifyValue<T3> in3, INotifyValue<T4> in4)
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

Returns
Type Description
ObservingFunc<T5, TResult>

An observable value that keeps track of any changes

| Edit this page View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Operators

| Edit this page View Source

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

Creates a new observable expression

Declaration
public static implicit operator ObservingFunc<T1, T2, T3, T4, T5, TResult>(Expression<Func<T1, T2, T3, T4, T5, TResult>> expression)
Parameters
Type Name Description
Expression<Func<T1, T2, T3, T4, T5, TResult>> expression

The expression that is to be observed

Returns
Type Description
ObservingFunc<T1, T2, T3, T4, T5, TResult>

An observable function

Extension Methods

ExpressionExtensions.AsOne<T>(T)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX