Condividi tramite


FarmBeatsClientBuilderExtensions.AddFarmBeatsClient Method

Definition

Overloads

AddFarmBeatsClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Registers a FarmBeatsClient instance.

AddFarmBeatsClient<TBuilder>(TBuilder, Uri)

Registers a FarmBeatsClient instance.

AddFarmBeatsClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Source:
FarmBeatsClientBuilderExtensions.cs

Registers a FarmBeatsClient instance.

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Verticals.AgriFood.Farming.FarmBeatsClient,Azure.Verticals.AgriFood.Farming.FarmBeatsClientOptions> AddFarmBeatsClient<TBuilder,TConfiguration> (this TBuilder builder, TConfiguration configuration) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<TConfiguration>;
static member AddFarmBeatsClient : 'Builder * 'Configuration -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Verticals.AgriFood.Farming.FarmBeatsClient, Azure.Verticals.AgriFood.Farming.FarmBeatsClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<'Configuration>)
<Extension()>
Public Function AddFarmBeatsClient(Of TBuilder As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration), TConfiguration As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration)) (builder As TBuilder, configuration As TConfiguration) As IAzureClientBuilder(Of FarmBeatsClient, FarmBeatsClientOptions)

Type Parameters

TBuilder
TConfiguration

Parameters

builder
TBuilder

The builder to register with.

configuration
TConfiguration

The configuration values.

Returns

Applies to

AddFarmBeatsClient<TBuilder>(TBuilder, Uri)

Source:
FarmBeatsClientBuilderExtensions.cs

Registers a FarmBeatsClient instance.

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Verticals.AgriFood.Farming.FarmBeatsClient,Azure.Verticals.AgriFood.Farming.FarmBeatsClientOptions> AddFarmBeatsClient<TBuilder> (this TBuilder builder, Uri endpoint) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential;
static member AddFarmBeatsClient : 'Builder * Uri -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Verticals.AgriFood.Farming.FarmBeatsClient, Azure.Verticals.AgriFood.Farming.FarmBeatsClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential)
<Extension()>
Public Function AddFarmBeatsClient(Of TBuilder As IAzureClientFactoryBuilderWithCredential) (builder As TBuilder, endpoint As Uri) As IAzureClientBuilder(Of FarmBeatsClient, FarmBeatsClientOptions)

Type Parameters

TBuilder

Parameters

builder
TBuilder

The builder to register with.

endpoint
Uri

server parameter.

Returns

Applies to