Show / Hide Table of Contents

Interface IObservable

Represents something that is Observable.

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

Properties

| Improve this Doc View Source

IsBeingObserved

Gets or sets a value indicating whether the observable is being observed. An observable is being observed when at least one derivation actually accesses its value.

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

IsPendingUnobservation

Gets or sets a value indicating whether this IObservable is pending Unobservation.

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

LastAccessedBy

Gets or sets the Id of the derivation run that last accessed this observable. If this Id equals the RunId of the current derivation the dependency is already established.

Declaration
int LastAccessedBy { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

LowestObserverState

Gets or sets the lowest DerivationState on any of it's observers.

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

Observers

Gets the Observers.

Declaration
ISet<IDerivation> Observers { get; }
Property Value
Type Description
ISet<IDerivation>

Methods

| Improve this Doc View Source

OnBecomeObserved()

Method that at least must be implented to trigger event BecomeObserved.

Declaration
void OnBecomeObserved()
| Improve this Doc View Source

OnBecomeUnobserved()

Method that at least must be implented to trigger event BecomeUnobserved.

Declaration
void OnBecomeUnobserved()

Events

| Improve this Doc View Source

BecomeObserved

Event that will fire after the observable has become observed.

Declaration
event EventHandler BecomeObserved
Event Type
Type Description
EventHandler
| Improve this Doc View Source

BecomeUnobserved

Event that will fire after the observable has become unobserved.

Declaration
event EventHandler BecomeUnobserved
Event Type
Type Description
EventHandler

Extension Methods

TraceExtensions.Trace<TObject, TMember>(TObject, Expression<Func<TObject, TMember>>, TraceMode)
ObservableExtensions.HasObservers(IObservable)
ObservableExtensions.AddObserver(IObservable, IDerivation)
ObservableExtensions.RemoveObserver(IObservable, IDerivation)
ObservableExtensions.ReportObserved(IObservable)
ObservableExtensions.PropagateChanged(IObservable)
ObservableExtensions.PropagateChangeConfirmed(IObservable)
ObservableExtensions.PropagateMaybeChanged(IObservable)
ObservableExtensions.IsDerivation(IObservable)
ObservableExtensions.IsComputedValue(IObservable)
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