| 40 | } |
| 41 | |
| 42 | void ConfigObject::SetExtension(const String& key, const Value& value) |
| 43 | { |
| 44 | Dictionary::Ptr extensions = GetExtensions(); |
| 45 | |
| 46 | if (!extensions) { |
| 47 | extensions = new Dictionary(); |
| 48 | SetExtensions(extensions); |
| 49 | } |
| 50 | |
| 51 | extensions->Set(key, value); |
| 52 | } |
| 53 | |
| 54 | Value ConfigObject::GetExtension(const String& key) |
| 55 | { |
no test coverage detected