//------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //------------------------------------------------------------------------------ namespace System.Activities.Presentation.Services { using System; using System.Collections.Generic; using System.Activities.Presentation.Model; /// /// When the model raises change events, it creates an /// EventArgs that describes the change. /// public abstract class ModelChangedEventArgs : EventArgs { /// /// Creates a new ModelChangedEventArgs. /// protected ModelChangedEventArgs() { } /// /// An enumeration of objects that have been added. /// [Obsolete("Don't use this property. Use \"ModelChangeInfo\" instead.")] public abstract IEnumerable ItemsAdded { get; } /// /// An enumeration of objects that have been removed. /// [Obsolete("Don't use this property. Use \"ModelChangeInfo\" instead.")] public abstract IEnumerable ItemsRemoved { get; } /// /// An enumeration of properties that have been changed. /// [Obsolete("Don't use this property. Use \"ModelChangeInfo\" instead.")] public abstract IEnumerable PropertiesChanged { get; } /// /// A ModelChangeInfo object that contains detailed model change information. /// public virtual ModelChangeInfo ModelChangeInfo { get { return null; } } } }