Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
Changed
EventHandler
<
XObjectChangeEventArgs
> System.Xml.Linq.XObject.Changed
add
remove
inherited
Definition at line
61
of file
XObject.cs
.
62
{
63
add
64
{
65
if
(
value
!=
null
)
66
{
67
XObjectChangeAnnotation
xObjectChangeAnnotation
=
Annotation<XObjectChangeAnnotation>
();
68
if
(
xObjectChangeAnnotation
==
null
)
69
{
70
xObjectChangeAnnotation
=
new
XObjectChangeAnnotation();
71
AddAnnotation
(
xObjectChangeAnnotation
);
72
}
73
XObjectChangeAnnotation
xObjectChangeAnnotation2
=
xObjectChangeAnnotation
;
74
xObjectChangeAnnotation2.changed
= (
EventHandler<XObjectChangeEventArgs>
)
Delegate
.Combine(
xObjectChangeAnnotation2
.changed,
value
);
75
}
76
}
77
remove
78
{
79
if
(
value
==
null
)
80
{
81
return
;
82
}
83
XObjectChangeAnnotation
xObjectChangeAnnotation
=
Annotation<XObjectChangeAnnotation>
();
84
if
(
xObjectChangeAnnotation
!=
null
)
85
{
86
xObjectChangeAnnotation.changed
= (
EventHandler<XObjectChangeEventArgs>
)
Delegate
.Remove(
xObjectChangeAnnotation
.changed,
value
);
87
if
(
xObjectChangeAnnotation
.changing ==
null
&&
xObjectChangeAnnotation
.changed ==
null
)
88
{
89
RemoveAnnotations<XObjectChangeAnnotation>
();
90
}
91
}
92
}
93
}
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
System.Xml.Linq.XObject.AddAnnotation
void AddAnnotation(object annotation)
Definition
XObject.cs:133
System.Xml.ValueHandleType.Dictionary
@ Dictionary
System.ExceptionArgument.value
@ value
System.AttributeTargets.Delegate
@ Delegate
System
Xml
Linq
XText
Generated by
1.10.0