Langue

ComponentRegistrationBridge<TComponent>.GetFromComponent<TRegistration> Méthode

Définition

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

IEnumerable<TRegistration>

La collection d’enregistrements TRegistration appliquée par le BotComponent.

S’applique à