Share via


ComponentRegistrationBridge<TComponent>.GetFromComponent<TRegistration> 메서드

정의

에서 시작을 호출하여 형식TRegistrationBotComponent 대한 등록 컬렉션을 검색합니다.

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)

형식 매개 변수

TRegistration

에서 가져올 등록 유형입니다 BotComponent.

매개 변수

services
IServiceCollection

에 전달할 BotComponent선택적 초기 IServiceCollection 입니다. 제공되지 않으면 빈 ServiceCollection 가 사용됩니다.

반환

IEnumerable<TRegistration>

에 의해 적용된 등록의 TRegistration 컬렉션입니다 BotComponent.

적용 대상