Share via


IAzureClientFactoryBuilderWithConfiguration<TConfiguration> Interface

Definition

Abstraction for registering Azure clients in dependency injection containers and initializing them using IConfiguration objects.

public interface IAzureClientFactoryBuilderWithConfiguration<in TConfiguration> : Azure.Core.Extensions.IAzureClientFactoryBuilder
type IAzureClientFactoryBuilderWithConfiguration<'Configuration> = interface
    interface IAzureClientFactoryBuilder
Public Interface IAzureClientFactoryBuilderWithConfiguration(Of In TConfiguration)
Implements IAzureClientFactoryBuilder

Type Parameters

TConfiguration
This type parameter is contravariant. That is, you can use either the type you specified or any type that is less derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.
Derived
Implements

Methods

RegisterClientFactory<TClient,TOptions>(Func<TOptions,TClient>)

Registers a client in the dependency injection container using the factory to create a client instance.

(Inherited from IAzureClientFactoryBuilder)
RegisterClientFactory<TClient,TOptions>(TConfiguration)

Registers a client in the dependency injection container using the configuration to create a client instance.

Applies to