Show / Hide Table of Contents

Interface IComputedValue<T>

Interface for Computed values.

Inherited Members
IComputedValue.Suspend()
IValue<T>.Value
Namespace: Cortex.Net
Assembly: Cortex.Net.dll
Syntax
public interface IComputedValue<T> : IComputedValue, IValue<T>, IValue
Type Parameters
Name Description
T

The type of the computed value.

Methods

| Improve this Doc View Source

Observe(EventHandler<ValueChangedEventArgs<T>>, Boolean)

Registers the secified event handler, and optionally fires it first.

Declaration
IDisposable Observe(EventHandler<ValueChangedEventArgs<T>> changedEventHandler, bool fireImmediately)
Parameters
Type Name Description
EventHandler<ValueChangedEventArgs<T>> changedEventHandler

The event handler to register.

System.Boolean fireImmediately

Whether to fire the event handler immediately.

Returns
Type Description
IDisposable

An IDisposable interface to remove the eventhandler.

Events

| Improve this Doc View Source

Changed

Event that fires after the value has changed.

Declaration
event EventHandler<ValueChangedEventArgs<T>> Changed
Event Type
Type Description
EventHandler<ValueChangedEventArgs<T>>

Extension Methods

TraceExtensions.Trace<TObject, TMember>(TObject, Expression<Func<TObject, TMember>>, TraceMode)
ReactiveObjectTypeUtilExtensions.GetObservable(Object)
ReactiveObjectTypeUtilExtensions.GetObservable<TObject, TMember>(TObject, Expression<Func<TObject, TMember>>)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX