Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ AddContentSkipNotify()

void System.Xml.Linq.XContainer.AddContentSkipNotify ( object content)
inlinepackageinherited

Definition at line 697 of file XContainer.cs.

698 {
699 if (content == null)
700 {
701 return;
702 }
703 if (content is XNode n)
704 {
706 return;
707 }
708 if (content is string s)
709 {
711 return;
712 }
713 if (content is XAttribute a)
714 {
716 return;
717 }
718 if (content is XStreamingElement other)
719 {
720 AddNodeSkipNotify(new XElement(other));
721 return;
722 }
723 if (content is object[] array)
724 {
725 object[] array2 = array;
726 foreach (object obj in array2)
727 {
729 }
730 return;
731 }
732 if (content is IEnumerable enumerable)
733 {
734 {
735 foreach (object item in enumerable)
736 {
738 }
739 return;
740 }
741 }
743 }
void AddContentSkipNotify(object content)
void AddNodeSkipNotify(XNode n)
void AddStringSkipNotify(string s)
static string GetStringValue(object value)
virtual void AddAttributeSkipNotify(XAttribute a)

References System.Xml.Linq.XContainer.AddAttributeSkipNotify(), System.Xml.Linq.XContainer.AddContentSkipNotify(), System.Xml.Linq.XContainer.AddNodeSkipNotify(), System.Xml.Linq.XContainer.AddStringSkipNotify(), System.array, System.Xml.Linq.XContainer.content, System.Xml.Linq.XContainer.GetStringValue(), System.item, System.obj, System.other, and System.s.

Referenced by System.Xml.Linq.XDocument.XDocument(), System.Xml.Linq.XElement.XElement(), System.Xml.Linq.XElement.XElement(), System.Xml.Linq.XContainer.Add(), and System.Xml.Linq.XContainer.AddContentSkipNotify().