Compartilhar via


DeveloperDevCenterClientBuilderExtensions.AddDevCenterClient Método

Definição

Sobrecargas

AddDevCenterClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Registra uma DevCenterClient instância.

AddDevCenterClient<TBuilder>(TBuilder, Uri)

Registra uma DevCenterClient instância.

AddDevCenterClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Origem:
DeveloperDevCenterClientBuilderExtensions.cs

Registra uma DevCenterClient instância.

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Developer.DevCenter.DevCenterClient,Azure.Developer.DevCenter.AzureDeveloperDevCenterClientOptions> AddDevCenterClient<TBuilder,TConfiguration> (this TBuilder builder, TConfiguration configuration) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<TConfiguration>;
static member AddDevCenterClient : 'Builder * 'Configuration -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Developer.DevCenter.DevCenterClient, Azure.Developer.DevCenter.AzureDeveloperDevCenterClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<'Configuration>)
<Extension()>
Public Function AddDevCenterClient(Of TBuilder As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration), TConfiguration As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration)) (builder As TBuilder, configuration As TConfiguration) As IAzureClientBuilder(Of DevCenterClient, AzureDeveloperDevCenterClientOptions)

Parâmetros de tipo

TBuilder
TConfiguration

Parâmetros

builder
TBuilder

O construtor com o qual se registrar.

configuration
TConfiguration

Os valores de configuração.

Retornos

Aplica-se a

AddDevCenterClient<TBuilder>(TBuilder, Uri)

Origem:
DeveloperDevCenterClientBuilderExtensions.cs

Registra uma DevCenterClient instância.

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Developer.DevCenter.DevCenterClient,Azure.Developer.DevCenter.AzureDeveloperDevCenterClientOptions> AddDevCenterClient<TBuilder> (this TBuilder builder, Uri endpoint) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential;
static member AddDevCenterClient : 'Builder * Uri -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Developer.DevCenter.DevCenterClient, Azure.Developer.DevCenter.AzureDeveloperDevCenterClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential)
<Extension()>
Public Function AddDevCenterClient(Of TBuilder As IAzureClientFactoryBuilderWithCredential) (builder As TBuilder, endpoint As Uri) As IAzureClientBuilder(Of DevCenterClient, AzureDeveloperDevCenterClientOptions)

Parâmetros de tipo

TBuilder

Parâmetros

builder
TBuilder

O construtor com o qual se registrar.

endpoint
Uri

O URI específico do DevCenter no qual operar.

Retornos

Aplica-se a