You've already forked linux-packaging-mono
Imported Upstream version 4.6.0.125
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
This commit is contained in:
parent
a569aebcfd
commit
e79aa3c0ed
@@ -0,0 +1,40 @@
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
// <copyright file="INotifyCollectionChanged.cs" company="Microsoft">
|
||||
// Copyright (C) 2003 by Microsoft Corporation. All rights reserved.
|
||||
// </copyright>
|
||||
//
|
||||
//
|
||||
// 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
|
||||
{
|
||||
/// <summary>
|
||||
/// 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.
|
||||
/// </summary>
|
||||
#if !MOBILE
|
||||
[TypeForwardedFrom("WindowsBase, Version=3.0.0.0, Culture=Neutral, PublicKeyToken=31bf3856ad364e35")]
|
||||
#endif
|
||||
public interface INotifyCollectionChanged
|
||||
{
|
||||
/// <summary>
|
||||
/// Occurs when the collection changes, either by adding or removing an item.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// The event handler receives an argument of type
|
||||
/// <seealso cref="System.Collections.Specialized.NotifyCollectionChangedEventArgs" />
|
||||
/// containing data related to this event.
|
||||
/// </remarks>
|
||||
event NotifyCollectionChangedEventHandler CollectionChanged;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user