Permalink
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (20 sloc) 639 Bytes
using System.Collections.Generic;
namespace ServiceStack.Configuration
{
public interface IAppSettings
{
Dictionary<string, string> GetAll();
List<string> GetAllKeys();
bool Exists(string key);
void Set<T>(string key, T value);
string GetString(string name);
IList<string> GetList(string key);
IDictionary<string, string> GetDictionary(string key);
T Get<T>(string name);
T Get<T>(string name, T defaultValue);
}
public interface IRuntimeAppSettings
{
T Get<T>(Web.IRequest request, string name, T defaultValue);
}
}