536cd135cc
Former-commit-id: 5624ac747d633e885131e8349322922b6a59baaa
39 lines
1.5 KiB
C#
39 lines
1.5 KiB
C#
//------------------------------------------------------------------------------
|
|
// <copyright file="XmlNodeChangedEventArgs.cs" company="Microsoft">
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// </copyright>
|
|
// <owner current="true" primary="true">Microsoft</owner>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace System.Xml {
|
|
public class XmlNodeChangedEventArgs : EventArgs {
|
|
private XmlNodeChangedAction action;
|
|
private XmlNode node;
|
|
private XmlNode oldParent;
|
|
private XmlNode newParent;
|
|
private string oldValue;
|
|
private string newValue;
|
|
|
|
public XmlNodeChangedEventArgs( XmlNode node, XmlNode oldParent, XmlNode newParent, string oldValue, string newValue, XmlNodeChangedAction action ) {
|
|
this.node = node;
|
|
this.oldParent = oldParent;
|
|
this.newParent = newParent;
|
|
this.action = action;
|
|
this.oldValue = oldValue;
|
|
this.newValue = newValue;
|
|
}
|
|
|
|
public XmlNodeChangedAction Action { get { return action; } }
|
|
|
|
public XmlNode Node { get { return node; } }
|
|
|
|
public XmlNode OldParent { get { return oldParent; } }
|
|
|
|
public XmlNode NewParent { get { return newParent; } }
|
|
|
|
public string OldValue { get { return oldValue; } }
|
|
|
|
public string NewValue { get { return newValue; } }
|
|
}
|
|
}
|