public void MergeInto(TextFileConfiguration destination) { foreach (var kv in this._Args) { foreach (var v in kv.Value) { destination.Add(kv.Key, v); } } }
/// <summary> /// Merges current instance of the configuration to the target instance. /// </summary> /// <param name="destination">Target instance to merge current instance into.</param> public void MergeInto(TextFileConfiguration destination) { foreach (KeyValuePair <string, List <string> > kv in this.args) { foreach (string v in kv.Value) { destination.Add(kv.Key, v); } } }