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

◆ GetKeyValue()

static string System.Data.Common.DbConnectionOptions.GetKeyValue ( StringBuilder buffer,
bool trimWhitespace )
inlinestaticprivate

Definition at line 142 of file DbConnectionOptions.cs.

143 {
144 int num = buffer.Length;
145 int i = 0;
146 if (trimWhitespace)
147 {
148 for (; i < num && char.IsWhiteSpace(buffer[i]); i++)
149 {
150 }
151 while (0 < num && char.IsWhiteSpace(buffer[num - 1]))
152 {
153 num--;
154 }
155 }
156 return buffer.ToString(i, num - i);
157 }

References System.buffer, and System.Text.RegularExpressions.i.

Referenced by System.Data.Common.DbConnectionOptions.GetKeyValuePair().