Adds comments

This commit is contained in:
Janus C. H. Knudsen 2025-02-11 23:32:28 +01:00
parent f4f2fc47b1
commit e3340b7c98
5 changed files with 52 additions and 9 deletions

View file

@ -5,6 +5,16 @@ using Newtonsoft.Json.Linq;
namespace Core.Configurations.SmartConfig
{
/// <summary>
/// Configuration provider that loads configuration from a smart configuration source (e.g. database).
/// The provider reads connection details from a JSON file and uses them to connect to a configuration repository.
/// </summary>
/// <remarks>
/// The provider supports multiple initialization methods:
/// - Through SmartConfigOptions for flexible repository configuration
/// - Through direct configuration key and file path
/// Configuration is loaded from the repository during Build() and converted to a JSON structure.
/// </remarks>
public class SmartConfigProvider : IConfigurationProvider
{
string _configKey;