File: FrameworkFork\Microsoft.Xml\Xml\Dom\XmlNodeChangedEventArgs.cs
Web Access
Project: src\src\dotnet-svcutil\lib\src\dotnet-svcutil-lib.csproj (dotnet-svcutil-lib)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
 
namespace Microsoft.Xml
{
    using System;
 
    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)
        {
            _node = node;
            _oldParent = oldParent;
            _newParent = newParent;
            _action = action;
            _oldValue = oldValue;
            _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; } }
    }
}