Skip to main content

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
TypeName
System.Stringname
Type Parameters
  • T

Get<T>(String, T)

View Source
Declaration
public override T Get<T>(string name, T defaultValue)
Returns

<T>

Parameters
TypeName
System.Stringname
<T>defaultValue
Type Parameters
  • T

Inherited Methods

Exists(String)

View Source
Declaration
public virtual bool Exists(string key)
Returns

System.Boolean

Parameters
TypeName
System.Stringkey

Get(String)

View Source
Declaration
public string Get(string name)
Returns

System.String

Parameters
TypeName
System.Stringname

Get<T>(String)

View Source
Declaration
public virtual T Get<T>(string name)
Returns

<T>

Parameters
TypeName
System.Stringname
Type Parameters
  • T

Get<T>(String, T)

View Source
Declaration
public virtual T Get<T>(string name, T defaultValue)
Returns

<T>

Parameters
TypeName
System.Stringname
<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
TypeName
System.Stringkey

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
TypeName
System.Stringkey

GetList(String)

View Source
Declaration
public virtual IList<string> GetList(string key)
Returns

System.Collections.Generic.IList<System.String>

Parameters
TypeName
System.Stringkey

GetNullableString(String)

View Source
Declaration
public virtual string GetNullableString(string name)
Returns

System.String

Parameters
TypeName
System.Stringname

GetRequiredString(String)

View Source
Declaration
public virtual string GetRequiredString(string name)
Returns

System.String

Parameters
TypeName
System.Stringname

GetString(String)

View Source
Declaration
public virtual string GetString(string name)
Returns

System.String

Parameters
TypeName
System.Stringname

Init(ISettings)

View Source
Declaration
protected void Init(ISettings settings)
Parameters
TypeName
ServiceStack.Configuration.ISettingssettings

Set<T>(String, T)

View Source
Declaration
public virtual void Set<T>(string key, T value)
Parameters
TypeName
System.Stringkey
<T>value
Type Parameters
  • T

Implements