12 references to InternalCollection
Microsoft.AspNetCore.Server.Kestrel.Core (7)
Internal\AddressBindContext.cs (1)
23
public ICollection<string> Addresses => ServerAddressesFeature.
InternalCollection
;
Internal\KestrelServerImpl.cs (3)
303
_serverAddresses.
InternalCollection
.PreventPublicMutation();
305
if (Options.ConfigurationLoader?.ReloadOnChange == true && (!_serverAddresses.PreferHostingUrls || _serverAddresses.
InternalCollection
.Count == 0))
376
_serverAddresses.
InternalCollection
.Remove(listenOption.GetDisplayName());
Internal\ServerAddressesFeature.cs (3)
16
ICollection<string> IServerAddressesFeature.Addresses =>
InternalCollection
.PublicCollection;
19
private string DebuggerToString() => $"Addresses = {
InternalCollection
.Count}";
26
public string[] Items => _feature.
InternalCollection
.ToArray();
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (5)
AddressBinderTests.cs (5)
183
addresses.
InternalCollection
.Add("http://localhost:5000");
203
addresses.
InternalCollection
.Add(overriddenAddress);
229
addresses.
InternalCollection
.Add(overriddenAddress);
254
addresses.
InternalCollection
.Add("http://localhost:5000");
279
addresses.
InternalCollection
.Add(address);