Show / Hide Table of Contents

Class ObservableExtensions

Extension methods for System.IObservable`1.

Inheritance
System.Object
ObservableExtensions
Namespace: Eco.Shared.View
Assembly: Eco.Shared.dll
Syntax
public static class ObservableExtensions : Object

Methods

WeakSubscribe(IObservable, String, Action)

Declaration
public static IPropertySubscription WeakSubscribe(this IObservable s, string propname, Action changedCallback)
Parameters
Type Name Description
IObservable s
System.String propname
System.Action changedCallback
Returns
Type Description
IPropertySubscription

WeakSubscribeAndCall(IObservable, String, Action)

Declaration
public static IPropertySubscription WeakSubscribeAndCall(this IObservable s, string propname, Action changedCallback)
Parameters
Type Name Description
IObservable s
System.String propname
System.Action changedCallback
Returns
Type Description
IPropertySubscription

WeakSubscribeUnique(IObservable, String, Action)

Declaration
public static IPropertySubscription WeakSubscribeUnique(this IObservable s, string propname, Action changedCallback)
Parameters
Type Name Description
IObservable s
System.String propname
System.Action changedCallback
Returns
Type Description
IPropertySubscription
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾