mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 03:51:19 -10:00
68 lines
967 B
C#
68 lines
967 B
C#
using System;
|
|
|
|
namespace System.Xml
|
|
{
|
|
/// <summary>
|
|
/// Passed to delegates on document tree changes
|
|
/// </summary>
|
|
public class XmlNodeChangedEventArgs
|
|
{
|
|
// Private data members
|
|
XmlNode _oldParent;
|
|
XmlNode _newParent;
|
|
XmlNodeChangedAction _action;
|
|
XmlNode _node;
|
|
|
|
// public properties
|
|
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 Methods
|
|
// Internal Methods
|
|
internal XmlNodeChangedEventArgs(
|
|
XmlNodeChangedAction action,
|
|
XmlNode node,
|
|
XmlNode oldParent,
|
|
XmlNode newParent)
|
|
{
|
|
_node = node;
|
|
_oldParent = oldParent;
|
|
_newParent = newParent;
|
|
_action = action;
|
|
}
|
|
|
|
}
|
|
}
|