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
419 B
14 lines
419 B
using System.Collections.Generic;
|
|
using System.IO;
|
|
|
|
namespace Trash.Config
|
|
{
|
|
public interface IConfigurationLoader<out T>
|
|
where T : BaseConfiguration
|
|
{
|
|
IEnumerable<T> Load(string propertyName, string configSection);
|
|
IEnumerable<T> LoadFromStream(TextReader stream, string configSection);
|
|
IEnumerable<T> LoadMany(IEnumerable<string> configFiles, string configSection);
|
|
}
|
|
}
|