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

◆ PreserveSpace()

static bool System.Data.XmlDataTreeWriter.PreserveSpace ( object value)
inlinestaticpackage

Definition at line 396 of file XmlDataTreeWriter.cs.

397 {
398 string text = value.ToString();
399 if (text.Length == 0)
400 {
401 return false;
402 }
403 for (int i = 0; i < text.Length; i++)
404 {
405 if (!char.IsWhiteSpace(text, i))
406 {
407 return false;
408 }
409 }
410 return true;
411 }

References System.text, and System.value.

Referenced by System.Data.NewDiffgramGen.GenerateColumn(), and System.Data.XmlDataTreeWriter.XmlDataRowWriter().