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

◆ AppendQuotedString()

static string System.Data.Common.ADP.AppendQuotedString ( StringBuilder buffer,
string quotePrefix,
string quoteSuffix,
string unQuotedString )
inlinestaticpackage

Definition at line 887 of file ADP.cs.

888 {
889 if (!string.IsNullOrEmpty(quotePrefix))
890 {
891 buffer.Append(quotePrefix);
892 }
893 if (!string.IsNullOrEmpty(quoteSuffix))
894 {
895 int length = buffer.Length;
896 buffer.Append(unQuotedString);
898 buffer.Append(quoteSuffix);
899 }
900 else
901 {
902 buffer.Append(unQuotedString);
903 }
904 return buffer.ToString();
905 }

References System.buffer, and System.length.

Referenced by System.Data.Common.ADP.BuildQuotedString().