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

◆ Remove()

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

Definition at line 132 of file ServiceNameStore.cs.

133 {
136 bool flag = Contains(inputServiceName);
137 if (flag)
138 {
141 }
142 if (System.Net.NetEventSource.Log.IsEnabled())
143 {
144 if (flag)
145 {
147 }
148 else
149 {
151 }
152 }
153 return flag;
154 }
static readonly System.Net.NetEventSource Log
static void Info(object thisOrContextObject, FormattableString formattableString=null, [CallerMemberName] string memberName=null)
string BuildSimpleServiceName(string uriPrefix)
static string NormalizeServiceName(string inputServiceName)
bool Contains(string newServiceName)
readonly List< string > _serviceNames
ServiceNameCollection _serviceNameCollection
static string net_log_listener_spn_not_remove
Definition SR.cs:74
static string net_log_listener_spn_remove
Definition SR.cs:72
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
Definition SR.cs:7

References System.Net.ServiceNameStore._serviceNameCollection, System.Net.ServiceNameStore._serviceNames, System.Net.ServiceNameStore.BuildSimpleServiceName(), System.Net.ServiceNameStore.Contains(), System.SR.Format(), System.Net.NetEventSource.Info(), System.Net.NetEventSource.Log, System.SR.net_log_listener_spn_not_remove, System.SR.net_log_listener_spn_remove, System.Net.ServiceNameStore.NormalizeServiceName(), and System.Collections.Generic.List< T >.Remove().

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