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.
14 lines
425 B
14 lines
425 B
using System.Collections.Generic;
|
|
using System.IO;
|
|
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);
|
|
}
|