Class ObservingFunc<T1, T2, T3, TResult>
- Namespace
- NMF.Expressions
- Assembly
- NMF.Expressions.dll
Represents an observable expression with 3 input parameters
public class ObservingFunc<T1, T2, T3, 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
TResult
The result type of the observing func
- Inheritance
-
ObservingFunc<T1, T2, T3, TResult>
- Derived
- Inherited Members
- Extension Methods
Constructors
ObservingFunc(Expression<Func<T1, T2, T3, TResult>>)
Creates a new observable expression for the given expression
public ObservingFunc(Expression<Func<T1, T2, T3, TResult>> expression)
Parameters
expression
Expression<Func<T1, T2, T3, 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
Methods
Evaluate(T1, T2, T3)
Invokes the expression
[ObservableProxy(typeof(ObservingFunc<,,,>), "Observe", false)]
public TResult Evaluate(T1 in1, T2 in2, T3 in3)
Parameters
in1
T1The input parameter 1
in2
T2The input parameter 2
in3
T3The input parameter 3
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, TResult> EvaluatePartial(INotifyValue<T1> in1)
Parameters
in1
INotifyValue<T1>The input parameter 1
Returns
- Func<T2, T3, 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, 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, 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, TResult> EvaluatePartial(T1 in1)
Parameters
in1
T1The input parameter 1
Returns
- Func<T2, T3, 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, TResult> EvaluatePartial(T1 in1, T2 in2)
Parameters
in1
T1The input parameter 1
in2
T2The input parameter 2
Returns
- Func<T3, TResult>
An observable value that keeps track of any changes
FromExpression(Expression<Func<T1, T2, T3, TResult>>)
Creates a new observable expression from the given expression
public static ObservingFunc<T1, T2, T3, TResult> FromExpression(Expression<Func<T1, T2, T3, TResult>> expression)
Parameters
expression
Expression<Func<T1, T2, T3, TResult>>The expression that is to be observed
Returns
- ObservingFunc<T1, T2, T3, TResult>
An observable function
InvokeReversable(INotifyValue<T1>, INotifyValue<T2>, INotifyValue<T3>)
Invokes the expression
public virtual INotifyReversableValue<TResult> InvokeReversable(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
- INotifyReversableValue<TResult>
An observable value that keeps track of any changes
InvokeReversable(T1, T2, T3)
Invokes the expression
public virtual INotifyReversableValue<TResult> InvokeReversable(T1 in1, T2 in2, T3 in3)
Parameters
in1
T1The input parameter 1
in2
T2The input parameter 2
in3
T3The input parameter 3
Returns
- INotifyReversableValue<TResult>
An observable value that keeps track of any changes
Observe(INotifyValue<T1>, INotifyValue<T2>, INotifyValue<T3>)
Invokes the expression
public INotifyValue<TResult> Observe(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
- INotifyValue<TResult>
An observable value that keeps track of any changes
Observe(T1, T2, T3)
Invokes the expression
public INotifyValue<TResult> Observe(T1 in1, T2 in2, T3 in3)
Parameters
in1
T1The input parameter 1
in2
T2The input parameter 2
in3
T3The input parameter 3
Returns
- INotifyValue<TResult>
An observable value that keeps track of any changes
ObservePartial(INotifyValue<T1>)
Invokes the expression partially
public ObservingFunc<T2, T3, TResult> ObservePartial(INotifyValue<T1> in1)
Parameters
in1
INotifyValue<T1>The input parameter 1
Returns
- ObservingFunc<T2, T3, TResult>
An observable value that keeps track of any changes
ObservePartial(INotifyValue<T1>, INotifyValue<T2>)
Invokes the expression partially
public ObservingFunc<T3, 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, 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
Operators
implicit operator ObservingFunc<T1, T2, T3, TResult>(Expression<Func<T1, T2, T3, TResult>>)
Creates a new observable expression
public static implicit operator ObservingFunc<T1, T2, T3, TResult>(Expression<Func<T1, T2, T3, TResult>> expression)
Parameters
expression
Expression<Func<T1, T2, T3, TResult>>The expression that is to be observed
Returns
- ObservingFunc<T1, T2, T3, TResult>
An observable function