MultiAppSettings
Assembly: ServiceStack.dll
View Source
Declaration
public class MultiAppSettings : AppSettingsBase, IAppSettings, ISettingsWriter, ISettings
Properties
AppSettings
View Source
Declaration
public IAppSettings[] AppSettings { get; }
Inherited Properties
ParsingStrategy
View Source
Declaration
public ParsingStrategyDelegate ParsingStrategy { get; set; }
Tier
View Source
Declaration
public string Tier { get; set; }
Methods
Get<T>(String)
View Source
Declaration
public override T Get<T>(string name)
Returns
<T>
Parameters
Type | Name |
---|---|
System.String | name |
Type Parameters
T
Get<T>(String, T)
View Source
Declaration
public override T Get<T>(string name, T defaultValue)
Returns
<T>
Parameters
Type | Name |
---|---|
System.String | name |
<T> | defaultValue |
Type Parameters
T
Inherited Methods
Exists(String)
View Source
Declaration
public virtual bool Exists(string key)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.String | key |
Get(String)
View Source
Declaration
public string Get(string name)
Returns
System.String
Parameters
Type | Name |
---|---|
System.String | name |
Get<T>(String)
View Source
Declaration
public virtual T Get<T>(string name)
Returns
<T>
Parameters
Type | Name |
---|---|
System.String | name |
Type Parameters
T
Get<T>(String, T)
View Source
Declaration
public virtual T Get<T>(string name, T defaultValue)
Returns
<T>
Parameters
Type | Name |
---|---|
System.String | name |
<T> | defaultValue |
Type Parameters
T
GetAll()
View Source
Declaration
public virtual Dictionary<string, string> GetAll()
Returns
System.Collections.Generic.Dictionary<System.String,System.String>
GetAllKeys()
View Source
Declaration
public virtual List<string> GetAllKeys()
Returns
System.Collections.Generic.List<System.String>
GetDictionary(String)
View Source
Declaration
public virtual IDictionary<string, string> GetDictionary(string key)
Returns
System.Collections.Generic.IDictionary<System.String,System.String>
Parameters
Type | Name |
---|---|
System.String | key |
GetKeyValuePairs(String)
View Source
Declaration
public virtual List<KeyValuePair<string, string>> GetKeyValuePairs(string key)
Returns
System.Collections.Generic.List<System.Collections.Generic.KeyValuePair<System.String,System.String>>
Parameters
Type | Name |
---|---|
System.String | key |
GetList(String)
View Source
Declaration
public virtual IList<string> GetList(string key)
Returns
System.Collections.Generic.IList<System.String>
Parameters
Type | Name |
---|---|
System.String | key |
GetNullableString(String)
View Source
Declaration
public virtual string GetNullableString(string name)
Returns
System.String
Parameters
Type | Name |
---|---|
System.String | name |
GetRequiredString(String)
View Source
Declaration
public virtual string GetRequiredString(string name)
Returns
System.String
Parameters
Type | Name |
---|---|
System.String | name |
GetString(String)
View Source
Declaration
public virtual string GetString(string name)
Returns
System.String
Parameters
Type | Name |
---|---|
System.String | name |
Init(ISettings)
View Source
Declaration
protected void Init(ISettings settings)
Parameters
Type | Name |
---|---|
ServiceStack.Configuration.ISettings | settings |
Set<T>(String, T)
View Source
Declaration
public virtual void Set<T>(string key, T value)
Parameters
Type | Name |
---|---|
System.String | key |
<T> | value |
Type Parameters
T