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