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

◆ UpdateRegexList()

void System.Net.WebProxy.UpdateRegexList ( bool canThrow)
inlineprivate

Definition at line 153 of file WebProxy.cs.

154 {
155 Regex[] array = null;
157 try
158 {
159 if (bypassList != null && bypassList.Count > 0)
160 {
161 array = new Regex[bypassList.Count];
162 for (int i = 0; i < bypassList.Count; i++)
163 {
164 array[i] = new Regex((string)bypassList[i], RegexOptions.IgnoreCase | RegexOptions.CultureInvariant);
165 }
166 }
167 }
168 catch
169 {
170 if (!canThrow)
171 {
172 _regexBypassList = null;
173 return;
174 }
175 throw;
176 }
178 }
Regex[] _regexBypassList
Definition WebProxy.cs:16
ArrayList _bypassList
Definition WebProxy.cs:14

References System.Net.WebProxy._bypassList, System.Net.WebProxy._regexBypassList, System.array, System.Runtime.Serialization.Dictionary, and System.Text.RegularExpressions.i.

Referenced by System.Net.WebProxy.WebProxy(), and System.Net.WebProxy.IsMatchInBypassList().