다음을 통해 공유


INamedContextualOptions<TOptions,TContext> 인터페이스

정의

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

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

형식 매개 변수

TOptions

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

TContext

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

구현

메서드

GetAsync(String, TContext, CancellationToken)

구성된 TOptions 명명된 instance 가져옵니다.

GetAsync(TContext, CancellationToken)

구성된 TOptions instance 가져옵니다.

(다음에서 상속됨 IContextualOptions<TOptions,TContext>)

적용 대상