1 //----------------------------------------------------------------
2 // <copyright company="Microsoft Corporation">
3 // Copyright (c) Microsoft Corporation. All rights reserved.
5 //----------------------------------------------------------------
7 namespace System.Activities.Presentation.Services
9 using System.Activities.Presentation.Model;
12 /// Contains data for detailed model change information
14 public abstract class ModelChangeInfo
17 /// Gets model change type
19 public abstract ModelChangeType ModelChangeType { get; }
22 /// Gets modelitem where a model change happens
24 public abstract ModelItem Subject { get; }
27 /// Gets property name if it's a property change
29 public abstract string PropertyName { get; }
32 /// Gets key model item if it's a dictionary change
34 public abstract ModelItem Key { get; }
37 /// Gets old value if it's a property chagne or a dictionary value change
39 public abstract ModelItem OldValue { get; }
42 /// Gets object that is been added/removed or the new value if it's a property change
44 public abstract ModelItem Value { get; }