Compartilhar via


ChatClientBuilderServiceCollectionExtensions Class

Definition

Provides extension methods for registering IChatClient with a IServiceCollection.

public ref class ChatClientBuilderServiceCollectionExtensions abstract sealed
public static class ChatClientBuilderServiceCollectionExtensions
type ChatClientBuilderServiceCollectionExtensions = class
Public Module ChatClientBuilderServiceCollectionExtensions
Inheritance
ChatClientBuilderServiceCollectionExtensions

Methods

AddChatClient(IServiceCollection, Func<IServiceProvider,IChatClient>)

Registers a singleton IChatClient in the IServiceCollection.

AddChatClient(IServiceCollection, IChatClient)

Registers a singleton IChatClient in the IServiceCollection.

AddKeyedChatClient(IServiceCollection, Object, Func<IServiceProvider,IChatClient>)

Registers a keyed singleton IChatClient in the IServiceCollection.

AddKeyedChatClient(IServiceCollection, Object, IChatClient)

Registers a keyed singleton IChatClient in the IServiceCollection.

Applies to