Show / Hide Table of Contents

Interface IDerivation

A derivation is a (computed) value that is derived from other (observable) values.

Inherited Members
IDependencyNode.Name
IDependencyNode.SharedState
Namespace: Cortex.Net
Assembly: Cortex.Net.dll
Syntax
public interface IDerivation : IDependencyNode

Properties

| Improve this Doc View Source

DependenciesState

Gets or sets the state of the dependencies of this IDerivation instance.

Declaration
DerivationState DependenciesState { get; set; }
Property Value
Type Description
DerivationState
| Improve this Doc View Source

IsTracing

Gets or sets the trace mode of this Derivation.

Declaration
TraceMode IsTracing { get; set; }
Property Value
Type Description
TraceMode
| Improve this Doc View Source

NewObserving

Gets a set of IObservable instances that have been hit during a new derivation run.

Declaration
ISet<IObservable> NewObserving { get; }
Property Value
Type Description
ISet<IObservable>
| Improve this Doc View Source

Observing

Gets a set of IObservable instances that are currently observed.

Declaration
ISet<IObservable> Observing { get; }
Property Value
Type Description
ISet<IObservable>
| Improve this Doc View Source

RequiresObservable

Gets a value indicating whether to warn if this derivation is required to visit at least one observable.

Declaration
bool RequiresObservable { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

RunId

Gets or sets the id of the current run of a derivation. Each time the derivation is tracked this number is increased by one. This number is unique within the current shared state.

Declaration
int RunId { get; set; }
Property Value
Type Description
System.Int32

Methods

| Improve this Doc View Source

OnBecomeStale()

Method that is called when the IDerivation instance has become stale.

Declaration
void OnBecomeStale()

Extension Methods

TraceExtensions.Trace(IDerivation, TraceMode)
TraceExtensions.Trace<TObject, TMember>(TObject, Expression<Func<TObject, TMember>>, TraceMode)
DerivationExtensions.ShouldCompute(IDerivation)
DerivationExtensions.TrackDerivedFunction<T>(IDerivation, Func<T>)
DerivationExtensions.ClearObserving(IDerivation)
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