You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
435 B

2 years ago
  1. using System.Collections;
  2. namespace EasyNet.Common
  3. {
  4. public class Map : Hashtable
  5. {
  6. public void Put(object key, object value)
  7. {
  8. if (this.ContainsKey(key)) this.Remove(key);
  9. this.Add(key, value);
  10. }
  11. public void SetParameter(string key, object value)
  12. {
  13. if (this.ContainsKey(key)) this.Remove(key);
  14. this.Add(key, value);
  15. }
  16. }
  17. }