|
readonly bool | isRoot |
|
readonly Dictionary< string, object > | values |
|
Definition at line 25 of file Configuration.cs.
Deveel.Data.Configuration.Configuration.Configuration |
( |
bool |
isRoot | ) |
|
|
inlineprivate |
Constructs the Configuration from the given parent.
- Parameters
-
parent | The parent Configuration object that will provide fallback configurations |
source | |
Definition at line 44 of file Configuration.cs.
45 :
this(parent == null) {
Deveel.Data.Configuration.Configuration.Configuration |
( |
IConfigSource |
source | ) |
|
|
inline |
Deveel.Data.Configuration.Configuration.Configuration |
( |
| ) |
|
|
inline |
Deveel.Data.Configuration.Configuration.Configuration |
( |
IConfiguration |
parent | ) |
|
|
inline |
IEnumerator<KeyValuePair<string, object> > Deveel.Data.Configuration.Configuration.GetEnumerator |
( |
| ) |
|
|
inline |
Definition at line 88 of file Configuration.cs.
90 return keys.Select(key =>
new KeyValuePair<string, object>(key,
GetValue(key))).GetEnumerator();
IEnumerable< string > GetKeys(ConfigurationLevel level)
Enumerates the keys that can be obtained by the object, at the given ConfigurationLevel.
ConfigurationLevel
Defines the level of configuration settings to save or read
object GetValue(string key)
Gets a configuration setting for the given key.
IEnumerator IEnumerable. Deveel.Data.Configuration.Configuration.GetEnumerator |
( |
| ) |
|
|
inlineprivate |
Definition at line 93 of file Configuration.cs.
IEnumerator< KeyValuePair< string, object > > GetEnumerator()
IEnumerable<string> Deveel.Data.Configuration.Configuration.GetKeys |
( |
ConfigurationLevel |
level | ) |
|
|
inline |
Enumerates the keys that can be obtained by the object, at the given ConfigurationLevel.
Implements Deveel.Data.Configuration.IConfiguration.
Definition at line 72 of file Configuration.cs.
73 var returnKeys =
new Dictionary<string, string>();
76 foreach (var pair
in configKeys) {
77 returnKeys[pair] = pair;
81 foreach (var configKey
in values.Keys) {
82 returnKeys[configKey] = configKey;
85 return returnKeys.Values.AsEnumerable();
readonly Dictionary< string, object > values
ConfigurationLevel
Defines the level of configuration settings to save or read
IEnumerable< string > GetKeys(ConfigurationLevel level)
Enumerates the keys that can be obtained by the object, at the given ConfigurationLevel.
object Deveel.Data.Configuration.Configuration.GetValue |
( |
string |
key | ) |
|
|
inline |
Gets a configuration setting for the given key.
Implements Deveel.Data.Configuration.IConfiguration.
Definition at line 111 of file Configuration.cs.
112 if (
String.IsNullOrEmpty(key))
113 throw new ArgumentNullException(
"key");
116 if (
values.TryGetValue(key, out value))
object GetValue(string key)
Gets a configuration setting for the given key.
readonly Dictionary< string, object > values
A long string in the system.
void Deveel.Data.Configuration.Configuration.SetValue |
( |
string |
key, |
|
|
object |
value |
|
) |
| |
|
inline |
readonly bool Deveel.Data.Configuration.Configuration.isRoot |
|
private |
readonly Dictionary<string, object> Deveel.Data.Configuration.Configuration.values |
|
private |
The documentation for this class was generated from the following file:
- /var/calculate/remote/distfiles/egit-src/deveeldb.git/src/deveeldb/Deveel.Data.Configuration/Configuration.cs