Udostępnij za pośrednictwem


ObjectPoolServiceCollectionExtensions.ConfigurePools Metoda

Definicja

Konfiguruje pule di.

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

Parametry

services
IServiceCollection

Element do dodania IServiceCollection .

section
IConfigurationSection

Sekcja konfiguracji, która ma być powiązana.

Zwraca

Wartość .services

Dotyczy