Table of Contents

Namespace OpenSettings.Extensions

Classes

CacheModelExtensions

Provides extension methods for CacheModel to interact with both in-memory and distributed caches. This includes methods for setting, getting, and creating cached items, as well as handling expiration and callback options.

ConfigurationBuilderExtensions

Provides extension methods for IConfigurationBuilder to retrieve settings from the configuration and build application settings asynchronously.

DictionaryExtensions

Provides extension methods for IDictionary<TKey, TValue> to simplify dictionary operations.

HostBuilderExtensions

Provides extension methods for configuring an IHostBuilder.

ServiceCollectionExtensions

Provides extension methods to configure and add OpenSettings services to an IServiceCollection.

ServiceProviderExtensions

Provides extension methods for IServiceProvider to facilitate managing instance status during application startup and shutdown.

This class includes the UseOpenSettings(IServiceProvider) method that helps update the status of the instance when the application starts and stops. It's primarily designed for non-ASP.NET applications. For ASP.NET applications, it is recommended to use the corresponding extension method specific to IApplicationBuilder for managing application startup and shutdown.

SettingsExtensions

Provides extension methods for ISettings.