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.
 
 
 
 
 

29 lines
618 B

using System.Collections;
namespace Entity
{
public class Map : Hashtable
{
public void Put(object key, object value)
{
if (this.ContainsKey(key)) this.Remove(key);
this.Add(key, value);
}
public object Get(object key)
{
if (this.ContainsKey(key))
{
return this[key] ?? "";
};
return "";
}
public void SetParameter(string key, object value)
{
if (this.ContainsKey(key)) this.Remove(key);
this.Add(key, value);
}
}
}