//--------------------------------------------------------------------------- // // // Copyright (C) 2003 by Microsoft Corporation. All rights reserved. // // // // Description: Allows collections to notify listeners of dynamic updates. // // See spec at http://avalon/connecteddata/Specs/INotifyCollectionChanged.mht // //--------------------------------------------------------------------------- using System; using System.Runtime.CompilerServices; namespace System.Collections.Specialized { /// /// A collection implementing this interface will notify listeners of dynamic changes, /// e.g. when items get added and removed or the whole list is refreshed. /// #if !MOBILE [TypeForwardedFrom("WindowsBase, Version=3.0.0.0, Culture=Neutral, PublicKeyToken=31bf3856ad364e35")] #endif public interface INotifyCollectionChanged { /// /// Occurs when the collection changes, either by adding or removing an item. /// /// /// The event handler receives an argument of type /// /// containing data related to this event. /// event NotifyCollectionChangedEventHandler CollectionChanged; } }