Implemented interface member:
property
Features
Microsoft.AspNetCore.Hosting.Server.IServer.Features
3 writes to Features
Microsoft.AspNetCore.TestHost (3)
TestServer.cs (3)
49Features = featureCollection ?? throw new ArgumentNullException(nameof(featureCollection)); 74Features = featureCollection ?? throw new ArgumentNullException(nameof(featureCollection)); 95Features = featureCollection ?? throw new ArgumentNullException(nameof(featureCollection));
12 references to Features
Microsoft.AspNetCore.HttpsPolicy.Tests (12)
HttpsPolicyTests.cs (1)
62server.Features.Set<IServerAddressesFeature>(new ServerAddressesFeature());
HttpsRedirectionMiddlewareTests.cs (11)
214server.Features.Set<IServerAddressesFeature>(new ServerAddressesFeature()); 217server.Features.Get<IServerAddressesFeature>().Addresses.Add(serverAddressFeatureUrl); 258server.Features.Set<IServerAddressesFeature>(new ServerAddressesFeature()); 260server.Features.Get<IServerAddressesFeature>().Addresses.Add("https://localhost:5050"); 301server.Features.Set<IServerAddressesFeature>(new ServerAddressesFeature()); 303server.Features.Get<IServerAddressesFeature>().Addresses.Add("https://localhost:5050"); 304server.Features.Get<IServerAddressesFeature>().Addresses.Add("https://localhost:5051"); 344server.Features.Set<IServerAddressesFeature>(new ServerAddressesFeature()); 345server.Features.Get<IServerAddressesFeature>().Addresses.Add("https://localhost:5050"); 346server.Features.Get<IServerAddressesFeature>().Addresses.Add("https://example.com:5050"); 439server.Features.Set<IServerAddressesFeature>(null);