15 instantiations of FeatureCollection
Microsoft.AspNetCore.Connections.Abstractions (1)
DefaultConnectionContext.cs (1)
47Features = new FeatureCollection();
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (2)
Logging\RequestHeadersEnricherTests.cs (2)
44var featureCollection = new FeatureCollection(); 230var featureCollection = new FeatureCollection();
Microsoft.AspNetCore.Http (2)
Builder\ApplicationBuilder.cs (1)
31public ApplicationBuilder(IServiceProvider serviceProvider) : this(serviceProvider, new FeatureCollection())
DefaultHttpContext.cs (1)
52: this(new FeatureCollection(DefaultFeatureCollectionSize))
Microsoft.AspNetCore.Http.Connections (2)
Internal\HttpConnectionContext.cs (1)
88Features = new FeatureCollection();
Internal\HttpConnectionDispatcher.cs (1)
753var features = new FeatureCollection();
Microsoft.AspNetCore.Server.Kestrel.Core (4)
Internal\Http3\Http3Connection.cs (1)
752var features = new FeatureCollection();
Internal\Infrastructure\TransportManager.cs (1)
71var features = new FeatureCollection();
Internal\KestrelServerImpl.cs (1)
70Features = new FeatureCollection();
Internal\WebTransport\WebTransportSession.cs (1)
129var features = new FeatureCollection();
Microsoft.AspNetCore.Testing.Tests (1)
FakesExtensionsTests.cs (1)
241var features = new FeatureCollection { [typeof(IServerAddressesFeature)] = addressesFeature };
Microsoft.Extensions.ServiceDiscovery (1)
ServiceEndpointBuilder.cs (1)
16private readonly FeatureCollection _features = new FeatureCollection();
Microsoft.Extensions.ServiceDiscovery.Abstractions (1)
Internal\ServiceEndpointImpl.cs (1)
13public override IFeatureCollection Features { get; } = features ?? new FeatureCollection();
Microsoft.Extensions.ServiceDiscovery.Tests (1)
ExtensionsServicePublicApiTests.cs (1)
197var features = new FeatureCollection();
20 references to FeatureCollection
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (2)
Logging\RequestHeadersEnricherTests.cs (2)
44var featureCollection = new FeatureCollection(); 230var featureCollection = new FeatureCollection();
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionDispatcher.cs (1)
753var features = new FeatureCollection();
Microsoft.AspNetCore.Http.Features (1)
Properties\AssemblyInfo.cs (1)
8[assembly: TypeForwardedTo(typeof(FeatureCollection))]
Microsoft.AspNetCore.Server.Kestrel.Core (8)
HttpsConfigurationService.cs (3)
27private Action<FeatureCollection, ListenOptions, ILogger<HttpsConnectionMiddleware>>? _populateMultiplexedTransportFeatures; 103public void PopulateMultiplexedTransportFeatures(FeatureCollection features, ListenOptions listenOptions) 144internal static void PopulateMultiplexedTransportFeaturesWorker(FeatureCollection features, ListenOptions listenOptions, ILogger<HttpsConnectionMiddleware> logger)
IHttpsConfigurationService.cs (1)
74void PopulateMultiplexedTransportFeatures(FeatureCollection features, ListenOptions listenOptions);
Internal\Http3\Http3Connection.cs (1)
752var features = new FeatureCollection();
Internal\Infrastructure\TransportManager.cs (1)
71var features = new FeatureCollection();
Internal\WebTransport\WebTransportSession.cs (1)
129var features = new FeatureCollection();
KestrelServer.cs (1)
89public void PopulateMultiplexedTransportFeatures(FeatureCollection features, ListenOptions listenOptions)
Microsoft.AspNetCore.Testing.Tests (1)
FakesExtensionsTests.cs (1)
241var features = new FeatureCollection { [typeof(IServerAddressesFeature)] = addressesFeature };
Microsoft.Extensions.Features (5)
FeatureCollection.cs (5)
27/// Initializes a new instance of <see cref="FeatureCollection"/>. 34/// Initializes a new instance of <see cref="FeatureCollection"/> with the specified initial capacity. 46/// Initializes a new instance of <see cref="FeatureCollection"/> with the specified defaults. 159private sealed class FeatureCollectionDebugView(FeatureCollection features) 161private readonly FeatureCollection _features = features;
Microsoft.Extensions.ServiceDiscovery (1)
ServiceEndpointBuilder.cs (1)
16private readonly FeatureCollection _features = new FeatureCollection();
Microsoft.Extensions.ServiceDiscovery.Tests (1)
ExtensionsServicePublicApiTests.cs (1)
197var features = new FeatureCollection();