public YamlConfigEntry(string path, IYamlConfigReader configReader, IYamlSecretsProvider yamlSecretsProvider) { _path = path; _yamlSecretsProvider = yamlSecretsProvider; _configReader = configReader; }
public YamlConfigProvider(IOptions <NetDaemonSettings> netDaemonSettings, IYamlConfigReader yamlConfigReader) { _yamlConfigReader = yamlConfigReader; _ = netDaemonSettings ?? throw new NetDaemonArgumentNullException(nameof(netDaemonSettings)); _configFolder = netDaemonSettings.Value.GetAppSourceDirectory(); _yamlSecretsProvider = new YamlSecretsProvider(_configFolder, _yamlConfigReader); }