IContextualOptions<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 configured TOptions
instances.
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)
Type Parameters
- TOptions
The type of options being requested.
- TContext
A type that defines the context for this request.
- Derived
Methods
GetAsync(TContext, CancellationToken) |
Gets the configured |
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.