Freigeben über


ObjectPoolServiceCollectionExtensions.ConfigurePools Methode

Definition

Konfiguriert DI-Pools.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ ConfigurePools(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services, Microsoft::Extensions::Configuration::IConfigurationSection ^ section);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection ConfigurePools (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Microsoft.Extensions.Configuration.IConfigurationSection section);
static member ConfigurePools : Microsoft.Extensions.DependencyInjection.IServiceCollection * Microsoft.Extensions.Configuration.IConfigurationSection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function ConfigurePools (services As IServiceCollection, section As IConfigurationSection) As IServiceCollection

Parameter

services
IServiceCollection

Die IServiceCollection-Schnittstelle, der etwas hinzugefügt werden soll.

section
IConfigurationSection

Der zu bindende Konfigurationsabschnitt.

Gibt zurück

Der Wert von services.

Gilt für: