public static class ServiceCollectionExtensionsReference documentation and code samples for the Google Cloud Talent Solution v4 API class ServiceCollectionExtensions.
Static class to provide extension methods to configure API clients.
Namespace
Microsoft.Extensions.DependencyInjectionAssembly
Google.Cloud.Talent.V4.dll
Methods
AddCompanyServiceClient(IServiceCollection, Action<CompanyServiceClientBuilder>)
public static IServiceCollection AddCompanyServiceClient(this IServiceCollection services, Action<CompanyServiceClientBuilder> action = null)Adds a singleton CompanyServiceClient 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 |
ActionCompanyServiceClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddCompanyServiceClient(IServiceCollection, Action<IServiceProvider, CompanyServiceClientBuilder>)
public static IServiceCollection AddCompanyServiceClient(this IServiceCollection services, Action<IServiceProvider, CompanyServiceClientBuilder> action)Adds a singleton CompanyServiceClient 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.IServiceProviderCompanyServiceClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddCompletionClient(IServiceCollection, Action<CompletionClientBuilder>)
public static IServiceCollection AddCompletionClient(this IServiceCollection services, Action<CompletionClientBuilder> action = null)Adds a singleton CompletionClient 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 |
ActionCompletionClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddCompletionClient(IServiceCollection, Action<IServiceProvider, CompletionClientBuilder>)
public static IServiceCollection AddCompletionClient(this IServiceCollection services, Action<IServiceProvider, CompletionClientBuilder> action)Adds a singleton CompletionClient 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.IServiceProviderCompletionClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddEventServiceClient(IServiceCollection, Action<EventServiceClientBuilder>)
public static IServiceCollection AddEventServiceClient(this IServiceCollection services, Action<EventServiceClientBuilder> action = null)Adds a singleton EventServiceClient 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 |
ActionEventServiceClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddEventServiceClient(IServiceCollection, Action<IServiceProvider, EventServiceClientBuilder>)
public static IServiceCollection AddEventServiceClient(this IServiceCollection services, Action<IServiceProvider, EventServiceClientBuilder> action)Adds a singleton EventServiceClient 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.IServiceProviderEventServiceClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddJobServiceClient(IServiceCollection, Action<JobServiceClientBuilder>)
public static IServiceCollection AddJobServiceClient(this IServiceCollection services, Action<JobServiceClientBuilder> action = null)Adds a singleton JobServiceClient 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 |
ActionJobServiceClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddJobServiceClient(IServiceCollection, Action<IServiceProvider, JobServiceClientBuilder>)
public static IServiceCollection AddJobServiceClient(this IServiceCollection services, Action<IServiceProvider, JobServiceClientBuilder> action)Adds a singleton JobServiceClient 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.IServiceProviderJobServiceClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddTenantServiceClient(IServiceCollection, Action<TenantServiceClientBuilder>)
public static IServiceCollection AddTenantServiceClient(this IServiceCollection services, Action<TenantServiceClientBuilder> action = null)Adds a singleton TenantServiceClient 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 |
ActionTenantServiceClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddTenantServiceClient(IServiceCollection, Action<IServiceProvider, TenantServiceClientBuilder>)
public static IServiceCollection AddTenantServiceClient(this IServiceCollection services, Action<IServiceProvider, TenantServiceClientBuilder> action)Adds a singleton TenantServiceClient 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.IServiceProviderTenantServiceClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|