다음을 통해 공유


IContextualOptions<TOptions,TContext> 인터페이스

정의

구성된 TOptions 인스턴스를 검색하는 데 사용됩니다.

generic <typename TOptions, typename TContext>
 where TOptions : class where TContext : IOptionsContextpublic interface class IContextualOptions
public interface IContextualOptions<TOptions,TContext> where TOptions : class where TContext : IOptionsContext
type IContextualOptions<'Options, 'Context (requires 'Options : null and 'Context :> IOptionsContext)> = interface
Public Interface IContextualOptions(Of TOptions, TContext)

형식 매개 변수

TOptions

요청되는 옵션의 유형입니다.

TContext

이 요청의 컨텍스트를 정의하는 형식입니다.

파생

메서드

GetAsync(TContext, CancellationToken)

구성된 TOptions instance 가져옵니다.

적용 대상