Show / Hide Table of Contents

Class IncrementalFunc<T1, TResult>

Represents a function class which tracks any calls

Inheritance
object
IncrementalFunc<T1, TResult>
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: NMF.Expressions
Assembly: NMF.Expressions.Utilities.dll
Syntax
public class IncrementalFunc<T1, TResult>
Type Parameters
Name Description
T1

The type of argument 1

TResult

The result type

Constructors

| Edit this page View Source

IncrementalFunc(ObservingFunc<T1, TResult>)

Create an incremental func for the given expression

Declaration
public IncrementalFunc(ObservingFunc<T1, TResult> func)
Parameters
Type Name Description
ObservingFunc<T1, TResult> func

The expression that should be observed

| Edit this page View Source

IncrementalFunc(Expression<Func<T1, TResult>>)

Create an incremental func for the given expression

Declaration
public IncrementalFunc(Expression<Func<T1, TResult>> func)
Parameters
Type Name Description
Expression<Func<T1, TResult>> func

The expression that should be observed

Properties

| Edit this page View Source

this[T1]

Gets the function value for the given arguments

Declaration
public TResult this[T1 arg1] { get; }
Parameters
Type Name Description
T1 arg1

Input argument 1

Property Value
Type Description
TResult

The current function valur for the provided argument

Methods

| Edit this page View Source

GetNotifyValue(T1)

Gets the changable value for the given arguments

Declaration
public INotifyValue<TResult> GetNotifyValue(T1 arg1)
Parameters
Type Name Description
T1 arg1

Argument 1

Returns
Type Description
INotifyValue<TResult>

A changable function value

Extension Methods

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