ComponentRegistrationBridge<TComponent>.GetFromComponent<TRegistration> Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Appels démarrés sur le BotComponent pour récupérer une collection d’enregistrements pour le type TRegistration.
protected System.Collections.Generic.IEnumerable<TRegistration> GetFromComponent<TRegistration>(Microsoft.Extensions.DependencyInjection.IServiceCollection services = default);
member this.GetFromComponent : Microsoft.Extensions.DependencyInjection.IServiceCollection -> seq<'Registration>
Protected Function GetFromComponent(Of TRegistration) (Optional services As IServiceCollection = Nothing) As IEnumerable(Of TRegistration)
Paramètres de type
- TRegistration
Le type d’enregistrement à obtenir depuis le BotComponent.
Paramètres
- services
- IServiceCollection
Initiale IServiceCollection optionnelle à transmettre à la BotComponent. Si elle n’est pas fournie, une vide ServiceCollection est utilisée.
Retours
La collection d’enregistrements TRegistration appliquée par le BotComponent.