Condividi tramite


ObjectPoolServiceCollectionExtensions.ConfigurePools Metodo

Definizione

Configura i pool di inserimento delle dipendenze.

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

Parametri

services
IServiceCollection

Oggetto IServiceCollection in cui effettuare l'aggiunta.

section
IConfigurationSection

Sezione di configurazione da associare.

Restituisce

Valore di services.

Si applica a