Show / Hide Table of Contents

Class ReactiveObjectTypeUtilExtensions

Type utility extensions on the IReactiveObject interface.

Inheritance
System.Object
ReactiveObjectTypeUtilExtensions
Namespace: Cortex.Net.Utils
Assembly: Cortex.Net.dll
Syntax
public static class ReactiveObjectTypeUtilExtensions : object

Methods

| Improve this Doc View Source

GetObservable(IReactiveObject)

Gets the underlying observable from the IReactiveObject instance.

Declaration
public static IObservable GetObservable(this IReactiveObject reactiveObject)
Parameters
Type Name Description
IReactiveObject reactiveObject

The reactive object to get the atom for.

Returns
Type Description
IObservable

The IAtom instance to get.

| Improve this Doc View Source

GetObservable(Object)

Gets the underlying atom from the IReactiveObject instance.

Declaration
public static IObservable GetObservable(this object reactiveObject)
Parameters
Type Name Description
System.Object reactiveObject

The reactive object to get the atom for.

Returns
Type Description
IObservable

The IAtom instance to get.

| Improve this Doc View Source

GetObservable<TObject, TMember>(TObject, Expression<Func<TObject, TMember>>)

Gets the observable for a member of an object.

Declaration
public static IObservable GetObservable<TObject, TMember>(this TObject target, Expression<Func<TObject, TMember>> expression)
    where TObject : class
Parameters
Type Name Description
TObject target

The target object to get a property from.

Expression<Func<TObject, TMember>> expression

The member expression.

Returns
Type Description
IObservable

An atom for the member of an object.

Type Parameters
Name Description
TObject

The type of the object.

TMember

The type of the member.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX