public static class ServiceCollectionExtensionsReference documentation and code samples for the Google Cloud Support v2beta API class ServiceCollectionExtensions.
Static class to provide extension methods to configure API clients.
Namespace
Microsoft.Extensions.DependencyInjectionAssembly
Google.Cloud.Support.V2Beta.dll
Methods
AddCaseAttachmentServiceClient(IServiceCollection, Action<CaseAttachmentServiceClientBuilder>)
public static IServiceCollection AddCaseAttachmentServiceClient(this IServiceCollection services, Action<CaseAttachmentServiceClientBuilder> action = null)Adds a singleton CaseAttachmentServiceClient 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 |
ActionCaseAttachmentServiceClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddCaseAttachmentServiceClient(IServiceCollection, Action<IServiceProvider, CaseAttachmentServiceClientBuilder>)
public static IServiceCollection AddCaseAttachmentServiceClient(this IServiceCollection services, Action<IServiceProvider, CaseAttachmentServiceClientBuilder> action)Adds a singleton CaseAttachmentServiceClient 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.IServiceProviderCaseAttachmentServiceClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddCaseServiceClient(IServiceCollection, Action<CaseServiceClientBuilder>)
public static IServiceCollection AddCaseServiceClient(this IServiceCollection services, Action<CaseServiceClientBuilder> action = null)Adds a singleton CaseServiceClient 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 |
ActionCaseServiceClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddCaseServiceClient(IServiceCollection, Action<IServiceProvider, CaseServiceClientBuilder>)
public static IServiceCollection AddCaseServiceClient(this IServiceCollection services, Action<IServiceProvider, CaseServiceClientBuilder> action)Adds a singleton CaseServiceClient 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.IServiceProviderCaseServiceClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddCommentServiceClient(IServiceCollection, Action<CommentServiceClientBuilder>)
public static IServiceCollection AddCommentServiceClient(this IServiceCollection services, Action<CommentServiceClientBuilder> action = null)Adds a singleton CommentServiceClient 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 |
ActionCommentServiceClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddCommentServiceClient(IServiceCollection, Action<IServiceProvider, CommentServiceClientBuilder>)
public static IServiceCollection AddCommentServiceClient(this IServiceCollection services, Action<IServiceProvider, CommentServiceClientBuilder> action)Adds a singleton CommentServiceClient 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.IServiceProviderCommentServiceClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddFeedServiceClient(IServiceCollection, Action<FeedServiceClientBuilder>)
public static IServiceCollection AddFeedServiceClient(this IServiceCollection services, Action<FeedServiceClientBuilder> action = null)Adds a singleton FeedServiceClient 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 |
ActionFeedServiceClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|
AddFeedServiceClient(IServiceCollection, Action<IServiceProvider, FeedServiceClientBuilder>)
public static IServiceCollection AddFeedServiceClient(this IServiceCollection services, Action<IServiceProvider, FeedServiceClientBuilder> action)Adds a singleton FeedServiceClient 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.IServiceProviderFeedServiceClientBuilderAn optional action to invoke on the client builder. This is invoked before services from
|
| Returns | |
|---|---|
| Type | Description |
IServiceCollection |
|