net9.0
namespace Microsoft.Extensions.Options.Contextual
{
public interface INamedContextualOptions<TOptions, TContext> : IContextualOptions<TOptions!, TContext>
where TOptions, class
where TContext, IOptionsContext!
{
ValueTask<TOptions!> GetAsync(string! name, in TContext context, CancellationToken cancellationToken);
}
}
.NET | 8.09.0 |
---|---|
.NET Framework | 4.6.24.74.7.14.7.24.84.8.1 |
Information specific to net9.0 | |
Assembly | Microsoft.Extensions.Options.Contextual , Version=9.1.0.0, PublicKeyToken=31bf3856ad364e35 |
Referencing | Your project needs a package reference to |
Package | Microsoft.Extensions.Options.Contextual (9.1.0-preview.1.24562.4) net9.0 |
Preview | EXTEXP0017: This API is marked as experimental.(more details) |
Platform Restrictions | This API is supported on all platforms. |