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

◆ Add()

bool System.Net.ServiceNameStore.Add ( string uriPrefix)
inline

Definition at line 105 of file ServiceNameStore.cs.

106 {
108 bool flag = false;
109 string[] array2 = array;
110 foreach (string text in array2)
111 {
113 {
114 flag = true;
115 if (System.Net.NetEventSource.Log.IsEnabled())
116 {
118 }
119 }
120 }
121 if (flag)
122 {
124 }
125 else if (System.Net.NetEventSource.Log.IsEnabled())
126 {
128 }
129 return flag;
130 }
static readonly System.Net.NetEventSource Log
static void Info(object thisOrContextObject, FormattableString formattableString=null, [CallerMemberName] string memberName=null)
string[] BuildServiceNames(string uriPrefix)
bool AddSingleServiceName(string spn)
ServiceNameCollection _serviceNameCollection
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
static string net_log_listener_spn_add
Definition SR.cs:68
static string net_log_listener_spn_not_add
Definition SR.cs:70
Definition SR.cs:7

References System.Net.ServiceNameStore._serviceNameCollection, System.Net.ServiceNameStore.AddSingleServiceName(), System.array, System.Net.ServiceNameStore.BuildServiceNames(), System.SR.Format(), System.Net.NetEventSource.Info(), System.Net.NetEventSource.Log, System.SR.net_log_listener_spn_add, System.SR.net_log_listener_spn_not_add, and System.text.

Referenced by System.Net.HttpListener.AddPrefix().