4 instantiations of XObjectChangeEventArgs
System.Private.Xml.Linq (4)
System\Xml\Linq\XObjectChangeEventArgs.cs (4)
18public static readonly XObjectChangeEventArgs Add = new XObjectChangeEventArgs(XObjectChange.Add); 23public static readonly XObjectChangeEventArgs Remove = new XObjectChangeEventArgs(XObjectChange.Remove); 28public static readonly XObjectChangeEventArgs Name = new XObjectChangeEventArgs(XObjectChange.Name); 33public static readonly XObjectChangeEventArgs Value = new XObjectChangeEventArgs(XObjectChange.Value);
71 references to XObjectChangeEventArgs
netstandard (1)
netstandard.cs (1)
2281[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Linq.XObjectChangeEventArgs))]
System.ComponentModel.TypeConverter (17)
MS\Internal\Xml\Linq\ComponentModel\XComponentModel.cs (17)
101c.Changing += new EventHandler<XObjectChangeEventArgs>(OnChanging); 102c.Changed += new EventHandler<XObjectChangeEventArgs>(OnChanged); 117c.Changing -= new EventHandler<XObjectChangeEventArgs>(OnChanging); 118c.Changed -= new EventHandler<XObjectChangeEventArgs>(OnChanged); 135protected virtual void OnChanged(object? sender, XObjectChangeEventArgs args) 139protected virtual void OnChanging(object? sender, XObjectChangeEventArgs args) 158protected override void OnChanged(object? sender, XObjectChangeEventArgs args) 182protected override void OnChanging(object? sender, XObjectChangeEventArgs args) 210protected override void OnChanged(object? sender, XObjectChangeEventArgs args) 235protected override void OnChanging(object? sender, XObjectChangeEventArgs args) 263protected override void OnChanged(object? sender, XObjectChangeEventArgs args) 302protected override void OnChanging(object? sender, XObjectChangeEventArgs args) 331protected override void OnChanged(object? sender, XObjectChangeEventArgs args) 363protected override void OnChanging(object? sender, XObjectChangeEventArgs args) 410protected override void OnChanged(object? sender, XObjectChangeEventArgs args) 449protected override void OnChanged(object? sender, XObjectChangeEventArgs args) 486protected override void OnChanged(object? sender, XObjectChangeEventArgs args)
System.Private.Xml.Linq (51)
System\Xml\Linq\XAttribute.cs (2)
168bool notify = NotifyChanging(this, XObjectChangeEventArgs.Value); 170if (notify) NotifyChanged(this, XObjectChangeEventArgs.Value);
System\Xml\Linq\XComment.cs (2)
82bool notify = NotifyChanging(this, XObjectChangeEventArgs.Value); 84if (notify) NotifyChanged(this, XObjectChangeEventArgs.Value);
System\Xml\Linq\XContainer.cs (10)
389NotifyChanging(this, XObjectChangeEventArgs.Value); 392NotifyChanged(this, XObjectChangeEventArgs.Value); 404NotifyChanging(n, XObjectChangeEventArgs.Remove); 416NotifyChanged(n, XObjectChangeEventArgs.Remove); 558NotifyChanging(this, XObjectChangeEventArgs.Value); 561NotifyChanged(this, XObjectChangeEventArgs.Value); 615bool notify = NotifyChanging(n, XObjectChangeEventArgs.Add); 618if (notify) NotifyChanged(n, XObjectChangeEventArgs.Add); 1244bool notify = NotifyChanging(n, XObjectChangeEventArgs.Remove); 1261if (notify) NotifyChanged(n, XObjectChangeEventArgs.Remove);
System\Xml\Linq\XDocumentType.cs (8)
66bool notify = NotifyChanging(this, XObjectChangeEventArgs.Value); 68if (notify) NotifyChanged(this, XObjectChangeEventArgs.Value); 84bool notify = NotifyChanging(this, XObjectChangeEventArgs.Name); 86if (notify) NotifyChanged(this, XObjectChangeEventArgs.Name); 115bool notify = NotifyChanging(this, XObjectChangeEventArgs.Value); 117if (notify) NotifyChanged(this, XObjectChangeEventArgs.Value); 132bool notify = NotifyChanging(this, XObjectChangeEventArgs.Value); 134if (notify) NotifyChanged(this, XObjectChangeEventArgs.Value);
System\Xml\Linq\XElement.cs (8)
276bool notify = NotifyChanging(this, XObjectChangeEventArgs.Name); 278if (notify) NotifyChanged(this, XObjectChangeEventArgs.Name); 940NotifyChanging(a, XObjectChangeEventArgs.Remove); 952NotifyChanged(a, XObjectChangeEventArgs.Remove); 1915bool notify = NotifyChanging(a, XObjectChangeEventArgs.Add); 1918if (notify) NotifyChanged(a, XObjectChangeEventArgs.Add); 2084bool notify = NotifyChanging(a, XObjectChangeEventArgs.Remove); 2099if (notify) NotifyChanged(a, XObjectChangeEventArgs.Remove);
System\Xml\Linq\XLinq.cs (4)
49_parent.NotifyChanging(_parent, XObjectChangeEventArgs.Value); 52_parent.NotifyChanged(_parent, XObjectChangeEventArgs.Value); 156bool notify = _parent.NotifyChanging(n, XObjectChangeEventArgs.Add); 177if (notify) _parent.NotifyChanged(n, XObjectChangeEventArgs.Add);
System\Xml\Linq\XObject.cs (4)
330public event EventHandler<XObjectChangeEventArgs> Changed 359public event EventHandler<XObjectChangeEventArgs> Changing 418internal bool NotifyChanged(object sender, XObjectChangeEventArgs e) 440internal bool NotifyChanging(object sender, XObjectChangeEventArgs e)
System\Xml\Linq\XObjectChangeAnnotation.cs (2)
8internal EventHandler<XObjectChangeEventArgs>? changing; 9internal EventHandler<XObjectChangeEventArgs>? changed;
System\Xml\Linq\XObjectChangeEventArgs.cs (5)
18public static readonly XObjectChangeEventArgs Add = new XObjectChangeEventArgs(XObjectChange.Add); 23public static readonly XObjectChangeEventArgs Remove = new XObjectChangeEventArgs(XObjectChange.Remove); 28public static readonly XObjectChangeEventArgs Name = new XObjectChangeEventArgs(XObjectChange.Name); 33public static readonly XObjectChangeEventArgs Value = new XObjectChangeEventArgs(XObjectChange.Value); 36/// Initializes a new instance of the <see cref="XObjectChangeEventArgs"/> class.
System\Xml\Linq\XProcessingInstruction.cs (4)
73bool notify = NotifyChanging(this, XObjectChangeEventArgs.Value); 75if (notify) NotifyChanged(this, XObjectChangeEventArgs.Value); 108bool notify = NotifyChanging(this, XObjectChangeEventArgs.Name); 110if (notify) NotifyChanged(this, XObjectChangeEventArgs.Name);
System\Xml\Linq\XText.cs (2)
71bool notify = NotifyChanging(this, XObjectChangeEventArgs.Value); 73if (notify) NotifyChanged(this, XObjectChangeEventArgs.Value);
System.Xml.Linq (1)
System.Xml.Linq.cs (1)
23[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Linq.XObjectChangeEventArgs))]
System.Xml.XDocument (1)
artifacts\obj\System.Xml.XDocument\Debug\net10.0\System.Xml.XDocument.Forwards.cs (1)
22[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Linq.XObjectChangeEventArgs))]