/// </summary>
#if !FEATURE_NETCORE
[Serializable()]
+#if !MOBILE
[TypeForwardedFrom("WindowsBase, Version=3.0.0.0, Culture=Neutral, PublicKeyToken=31bf3856ad364e35")]
+#endif
#endif
public class ObservableCollection<T> : Collection<T>, INotifyCollectionChanged, INotifyPropertyChanged
{
// this class helps prevent reentrant calls
#if !FEATURE_NETCORE
[Serializable()]
+#if !MOBILE
[TypeForwardedFrom("WindowsBase, Version=3.0.0.0, Culture=Neutral, PublicKeyToken=31bf3856ad364e35")]
+#endif
#endif
private class SimpleMonitor : IDisposable
{
/// 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>
/// <summary>
/// This enum describes the action that caused a CollectionChanged event.
/// </summary>
+#if !MOBILE
[TypeForwardedFrom("WindowsBase, Version=3.0.0.0, Culture=Neutral, PublicKeyToken=31bf3856ad364e35")]
+#endif
public enum NotifyCollectionChangedAction
{
/// <summary> One or more items were added to the collection. </summary>
/// whenever an item is added or removed, or when the contents of the collection
/// changes dramatically.
/// </summary>
+#if !MOBILE
[TypeForwardedFrom("WindowsBase, Version=3.0.0.0, Culture=Neutral, PublicKeyToken=31bf3856ad364e35")]
+#endif
public class NotifyCollectionChangedEventArgs : EventArgs
{
//------------------------------------------------------
/// <summary>
/// The delegate to use for handlers that receive the CollectionChanged event.
/// </summary>
+#if !MOBILE
[TypeForwardedFrom("WindowsBase, Version=3.0.0.0, Culture=Neutral, PublicKeyToken=31bf3856ad364e35")]
+#endif
public delegate void NotifyCollectionChangedEventHandler(object sender, NotifyCollectionChangedEventArgs e);
}