Пример #1
0
 public bool AddKey(String Key, String Value)
 {
     if (!this.ContainsKey(Key))
     {
         var kv = new INIEntry(Key, Value);
         this[Key] = kv;
         return(true);
     }
     else
     {
         this[Key].Value = Value;
         return(false);
     }
 }
Пример #2
0
 public bool TryGetValue(String key, out INIEntry value)
 {
     return(Entries.TryGetValue(key, out value));
 }
Пример #3
0
 public bool TryGetValue(String key, out INIEntry value)
 {
     return Entries.TryGetValue(key, out value);
 }
Пример #4
0
 public bool AddKey(String Key, String Value)
 {
     if (!this.ContainsKey(Key)) {
         var kv = new INIEntry(Key, Value);
         this[Key] = kv;
         return true;
     } else {
         this[Key].Value = Value;
         return false;
     }
 }