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

Definição

Chamadas iniciando no BotComponent para recuperar uma coleção de registros para o tipo 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)

Parâmetros de tipo

TRegistration

O tipo de registro a ser obtido a partir do BotComponent.

Parâmetros

services
IServiceCollection

Inicial IServiceCollection opcional para passar para o BotComponent. Se não for fornecida, um vazio ServiceCollection é usado.

Retornos

IEnumerable<TRegistration>

A coleção de TRegistration registros aplicada pelo BotComponent.

Aplica-se a