Xamarin Public Jenkins (auto-signing) e79aa3c0ed Imported Upstream version 4.6.0.125
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
2016-08-03 10:59:49 +00:00

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">[....]</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; } }
}
}