Show / Hide Table of Contents

Interface IObservable

Interface for objects which may be subscribed (observed) for property changes.

Namespace: Eco.Shared.View
Assembly: Eco.Shared.dll
Syntax
public interface IObservable

Properties

DebugName

Declaration
string DebugName { get; }
Property Value
Type Description
System.String

Methods

HasProperty(String)

Declaration
bool HasProperty(string propertyName)
Parameters
Type Name Description
System.String propertyName
Returns
Type Description
System.Boolean

IsAvailable(String)

Declaration
bool IsAvailable(string propname)
Parameters
Type Name Description
System.String propname
Returns
Type Description
System.Boolean

NotifyChanged(String)

Declaration
void NotifyChanged(string propertyName)
Parameters
Type Name Description
System.String propertyName

Subscribe(IPropertySubscription)

Declaration
void Subscribe(IPropertySubscription subscription)
Parameters
Type Name Description
IPropertySubscription subscription

SubscribeUnique(IPropertySubscription)

Declaration
bool SubscribeUnique(IPropertySubscription subscription)
Parameters
Type Name Description
IPropertySubscription subscription
Returns
Type Description
System.Boolean

Unsubscribe(IPropertySubscription)

Declaration
void Unsubscribe(IPropertySubscription subscription)
Parameters
Type Name Description
IPropertySubscription subscription

Extension Methods

CommandLine.FeedFromCommandLine(Object)
CommandLine.ToCommandLineArgs(Object, Func<Object, Boolean>)
ListUtil.DepthFirstTraversal<T>(T, Func<T, IEnumerable<T>>)
EnumerableExtensions.SingleItemAsEnumerable<T>(T)
EventUtils.RaiseEvent<TEventArgs>(Object, String, TEventArgs)
PredicateUtils.MatchesAll<TEnumerable, T>(T, TEnumerable)
PredicateUtils.MatchesAll<T>(T, Func<T, Boolean>[])
PredicateUtils.MatchesAny<TEnumerable, T>(T, TEnumerable)
ReflectionUtils.PropertyValue<T>(Object, PropertyInfo)
ReflectionUtils.TryGetPropertyValueByName<T>(Object, String, out T)
ReflectionUtils.GetPropertyValueByName<T>(Object, String)
ReflectionUtils.SetPropertyByName(Object, String, Object)
ReflectionUtils.GetStructPropertyByName<T>(Object, String)
ReflectionUtils.GetStringPropertyByName(Object, String)
ReflectionUtils.ZipByProperty<T>(Object, Object, Object, Func<T, T, T>)
ObservableExtensions.WeakSubscribe(IObservable, String, Action)
ObservableExtensions.WeakSubscribeUnique(IObservable, String, Action)
ObservableExtensions.WeakSubscribeAndCall(IObservable, String, Action)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾