using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Nuclex.Support.Configuration {
/// Interface by which settings stored in a file can be accessed
public interface ISettings {
/// Enumerates the categories defined in the configuration
/// An enumerable list of all used categories
IEnumerable EnumerateCategories();
/// Enumerates the options stored under the specified category
/// Category whose options will be enumerated
/// An enumerable list of all options in the category
IEnumerable EnumerateOptions(string category = null);
TValue Get(string category, string optionName);
TValue Get(string optionName);
}
} // namespace Nuclex.Support.Configuration