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.
19 lines
435 B
19 lines
435 B
using System.Collections;
|
|
|
|
namespace EasyNet.Common
|
|
{
|
|
public class Map : Hashtable
|
|
{
|
|
public void Put(object key, object value)
|
|
{
|
|
if (this.ContainsKey(key)) this.Remove(key);
|
|
this.Add(key, value);
|
|
}
|
|
|
|
public void SetParameter(string key, object value)
|
|
{
|
|
if (this.ContainsKey(key)) this.Remove(key);
|
|
this.Add(key, value);
|
|
}
|
|
}
|
|
}
|