Show / Hide Table of Contents

Class CollectionChangeListener<T>

Denotes a class that listenes for collection changes

Inheritance
object
CollectionChangeListener<T>
Implements
IChangeListener
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: NMF.Expressions
Assembly: NMF.Expressions.dll
Syntax
public class CollectionChangeListener<T> : IChangeListener
Type Parameters
Name Description
T

The type of elements

Constructors

| Edit this page View Source

CollectionChangeListener(INotifiable)

Create a new instance

Declaration
public CollectionChangeListener(INotifiable node)
Parameters
Type Name Description
INotifiable node

the target node

Properties

| Edit this page View Source

Node

Gets the target dependency graph node

Declaration
public INotifiable Node { get; }
Property Value
Type Description
INotifiable

Methods

| Edit this page View Source

AggregateChanges()

Aggregates the changes

Declaration
public INotificationResult AggregateChanges()
Returns
Type Description
INotificationResult

A notification result aggregating the changes since the last propagation

| Edit this page View Source

Subscribe(INotifyCollectionChanged)

Subscribe to changes of the collection

Declaration
public void Subscribe(INotifyCollectionChanged collection)
Parameters
Type Name Description
INotifyCollectionChanged collection

The target collection

| Edit this page View Source

Unsubscribe()

Unsubscribe changes

Declaration
public void Unsubscribe()

Implements

IChangeListener

Extension Methods

ExpressionExtensions.AsOne<T>(T)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX