public static class ServiceCollectionExtensionsReference documentation and code samples for the Data Lineage v1 API class ServiceCollectionExtensions.
Static class to provide extension methods to configure API clients.
Namespace
Microsoft.Extensions.DependencyInjectionAssembly
Google.Cloud.DataCatalog.Lineage.ConfigManagement.V1.dll
Methods
AddConfigManagementServiceClient(IServiceCollection, Action<ConfigManagementServiceClientBuilder>)
public static IServiceCollection AddConfigManagementServiceClient(this IServiceCollection services, Action<ConfigManagementServiceClientBuilder> action = null)Adds a singleton ConfigManagementServiceClient to services.
| Parameters | |
|---|---|
| Name | Description |
services |
IServiceCollectionThe service collection to add the client to. The services are used to configure the client when requested. |
action |
ActionConfigManagementServiceClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddConfigManagementServiceClient(IServiceCollection, Action<IServiceProvider, ConfigManagementServiceClientBuilder>)
public static IServiceCollection AddConfigManagementServiceClient(this IServiceCollection services, Action<IServiceProvider, ConfigManagementServiceClientBuilder> action)Adds a singleton ConfigManagementServiceClient to services.
| Parameters | |
|---|---|
| Name | Description |
services |
IServiceCollectionThe service collection to add the client to. The services are used to configure the client when requested. |
action |
ActionSystem.IServiceProviderConfigManagementServiceClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|