Updates referencesource to .NET 4.7
[mono-project.git] / mcs / class / referencesource / System.Xml / System / Xml / Dom / XmlNodeChangedEventArgs.cs
blobac4c5097ee90792b555d2ca5e9059bcfd9b5cb48
1 //------------------------------------------------------------------------------
2 // <copyright file="XmlNodeChangedEventArgs.cs" company="Microsoft">
3 // Copyright (c) Microsoft Corporation. All rights reserved.
4 // </copyright>
5 // <owner current="true" primary="true">Microsoft</owner>
6 //------------------------------------------------------------------------------
8 namespace System.Xml {
9 public class XmlNodeChangedEventArgs : EventArgs {
10 private XmlNodeChangedAction action;
11 private XmlNode node;
12 private XmlNode oldParent;
13 private XmlNode newParent;
14 private string oldValue;
15 private string newValue;
17 public XmlNodeChangedEventArgs( XmlNode node, XmlNode oldParent, XmlNode newParent, string oldValue, string newValue, XmlNodeChangedAction action ) {
18 this.node = node;
19 this.oldParent = oldParent;
20 this.newParent = newParent;
21 this.action = action;
22 this.oldValue = oldValue;
23 this.newValue = newValue;
26 public XmlNodeChangedAction Action { get { return action; } }
28 public XmlNode Node { get { return node; } }
30 public XmlNode OldParent { get { return oldParent; } }
32 public XmlNode NewParent { get { return newParent; } }
34 public string OldValue { get { return oldValue; } }
36 public string NewValue { get { return newValue; } }