INamedContextualOptions<TOptions,TContext> Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides functionality to retrieve named configured TOptions
instances.
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)
Type Parameters
- TOptions
The type of options being requested.
- TContext
A type defining the context for this request.
- Implements
Methods
GetAsync(String, TContext, CancellationToken) |
Gets the named configured |
GetAsync(TContext, CancellationToken) |
Gets the configured |
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.