Show / Hide Table of Contents

Class ImmutablePropertySubscription

Immutable implementation of IPropertySubscription used by controller to prevent concurrent modifications (i.e. Eco.Shared.View.PropertySubscription may be recycled and destroy it's state).

Inheritance
System.Object
ImmutablePropertySubscription
Implements
IPropertySubscription
ISubscription
Namespace: Eco.Core.Controller
Assembly: Eco.Core.dll
Syntax
public class ImmutablePropertySubscription : Object, IPropertySubscription, ISubscription

Constructors

ImmutablePropertySubscription(IObservable, String, Action)

Declaration
public ImmutablePropertySubscription(IObservable subject, string propertyName, Action callback)
Parameters
Type Name Description
IObservable subject
System.String propertyName
System.Action callback

Properties

IsAlive

Declaration
public bool IsAlive { get; }
Property Value
Type Description
System.Boolean

Method

Declaration
public MethodInfo Method { get; }
Property Value
Type Description
System.Reflection.MethodInfo

PropertyName

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

Subject

Declaration
public IObservable Subject { get; }
Property Value
Type Description
IObservable

Target

Declaration
public object Target { get; }
Property Value
Type Description
System.Object

Methods

Invoke()

Declaration
public void Invoke()

Unsubscribe()

Declaration
public void Unsubscribe()

Implements

IPropertySubscription
ISubscription

Extension Methods

PropertyChanges.FirePropertyChanged(Object, String)
PropertyChanges.FirePropertyChanged(Object, String, Object, Object)
PropertyChanges.FirePropertyChanged(Object, MemberChangedBeforeAfterEventArgs)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾