public void Add(string original, string replacer) { DefineCollection.Replacer replacer1 = new DefineCollection.Replacer(replacer, new string[0]); this.values.Add(new KeyValuePair <string, int>(original, 0), replacer1); this.originals.Add(original); }
public void Add(string original, string replacer, params string[] parameters) { DefineCollection.Replacer replacer1 = new DefineCollection.Replacer(replacer, parameters); this.values[new KeyValuePair <string, int>(original, parameters.Length)] = replacer1; this.originals.Add(original); }