Show / Hide Table of Contents

Class ReversableExtensions

Describes extensions to support reversable operations

Inheritance
object
ReversableExtensions
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.dll
Syntax
public static class ReversableExtensions

Methods

| Edit this page View Source

AsReversable<T>(INotifyValue<T>, Action<T>)

Turns the given value into a reversable by providing an explicit put operation

Declaration
public static INotifyValue<T> AsReversable<T>(this INotifyValue<T> value, Action<T> reversableHandler)
Parameters
Type Name Description
INotifyValue<T> value

The incremental value

Action<T> reversableHandler

The put operation

Returns
Type Description
INotifyValue<T>

A reversable incremental value

Type Parameters
Name Description
T

The element type

Exceptions
Type Condition
ArgumentNullException

Thrown if reversableHandler is null

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX