mindee-api-dotnet

ServiceCollectionsExtensions.AddMindeeClient Method

Declaring Type: ServiceCollectionsExtensions
Namespace: Mindee.Extensions.DependencyInjection
Assembly: Mindee
Assembly Version: 3.21.0+995c229708fe61b0dacbe0bfca8ad9e39db87623

Configure the Mindee client in the DI.

public static IServiceCollection AddMindeeClient(this IServiceCollection services, string sectionName = "Mindee");

Parameters

services IServiceCollection

IServiceCollection

sectionName string

The name of the section to bind from the configuration.

Remarks

The MindeeClient instance is registered as a transient.

Returns

IServiceCollection


Documentation generated by MdDocs