Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
32 lines (21 sloc) 713 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);
List<KeyValuePair<string, string>> GetKeyValuePairs(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);
}
}
You can’t perform that action at this time.