You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
recyclarr/src/Recyclarr.Cli/Config/IConfigurationLoader.cs

12 lines
380 B

using Recyclarr.TrashLib.Config.Services;
namespace Recyclarr.Cli.Config;
public interface IConfigurationLoader<T>
where T : IServiceConfiguration
{
ICollection<T> LoadMany(IEnumerable<string> configFiles, string configSection);
ICollection<T> Load(string file, string configSection);
ICollection<T> LoadFromStream(TextReader stream, string requestedSection);
}