IOptions<TOptions> Interface

Definition

Used to retreive configured TOptions instances.

public interface IOptions<out TOptions> where TOptions : class, new()
Type Parameters
TOptions

The type of options being requested.

Derived
Microsoft.AspNetCore.Builder.CookieAuthenticationOptions
Microsoft.AspNetCore.ResponseCompression.GzipCompressionProviderOptions
Microsoft.Extensions.Caching.Memory.MemoryCacheOptions
Microsoft.Extensions.Caching.Redis.RedisCacheOptions
Microsoft.Extensions.Caching.SqlServer.SqlServerCacheOptions
More…

Properties

Value

The default configured TOptions instance, equivalent to Get(string.Empty).