ChatClientBuilderServiceCollectionExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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>, ServiceLifetime) |
Registers a singleton IChatClient in the IServiceCollection. |
AddChatClient(IServiceCollection, IChatClient, ServiceLifetime) |
Registers a singleton IChatClient in the IServiceCollection. |
AddKeyedChatClient(IServiceCollection, Object, Func<IServiceProvider,IChatClient>, ServiceLifetime) |
Registers a keyed singleton IChatClient in the IServiceCollection. |
AddKeyedChatClient(IServiceCollection, Object, IChatClient, ServiceLifetime) |
Registers a keyed singleton IChatClient in the IServiceCollection. |
Applies to
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.