24 references to _prefixes
Microsoft.AspNetCore.Server.HttpSys (24)
UrlPrefixCollection.cs (24)
36
lock (
_prefixes
)
38
return
_prefixes
.Count;
66
lock (
_prefixes
)
70
_prefixes
.Add(id, item);
76
lock (
_prefixes
)
78
return
_prefixes
.TryGetValue(id, out var prefix) ? prefix : null;
88
lock (
_prefixes
)
90
foreach (var prefix in
_prefixes
.Values)
111
lock (
_prefixes
)
117
_prefixes
.Clear();
124
lock (
_prefixes
)
126
return
_prefixes
.Values.Contains(item);
133
lock (
_prefixes
)
135
_prefixes
.Values.CopyTo(array, arrayIndex);
148
lock (
_prefixes
)
151
foreach (var pair in
_prefixes
)
161
_prefixes
.Remove(id.Value);
173
lock (
_prefixes
)
175
return
_prefixes
.Values.GetEnumerator();
186
lock (
_prefixes
)
191
foreach (var pair in
_prefixes
.ToList())
228
_prefixes
[key] = newPrefix;
247
lock (
_prefixes
)
255
foreach (var prefix in
_prefixes
.Values)