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/Trash/Config/IConfigurationLoader.cs

12 lines
374 B

using TrashLib.Config.Services;
namespace Trash.Config;
public interface IConfigurationLoader<out T>
where T : IServiceConfiguration
{
IEnumerable<T> Load(string propertyName, string configSection);
IEnumerable<T> LoadFromStream(TextReader stream, string configSection);
IEnumerable<T> LoadMany(IEnumerable<string> configFiles, string configSection);
}