Exemple #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);
     }
 }
Exemple #2
0
 public bool TryGetValue(String key, out INIEntry value)
 {
     return(Entries.TryGetValue(key, out value));
 }
Exemple #3
0
 public bool TryGetValue(String key, out INIEntry value)
 {
     return Entries.TryGetValue(key, out value);
 }
Exemple #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;
     }
 }