1 //------------------------------------------------------------------------------
2 // <copyright file="XmlNodeChangedEventArgs.cs" company="Microsoft">
3 // Copyright (c) Microsoft Corporation. All rights reserved.
5 // <owner current="true" primary="true">Microsoft</owner>
6 //------------------------------------------------------------------------------
9 public class XmlNodeChangedEventArgs
: EventArgs
{
10 private XmlNodeChangedAction action
;
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
) {
19 this.oldParent
= oldParent
;
20 this.newParent
= newParent
;
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; }
}