class callDictionary : DictionaryBase
{
public call this[string key]
{
get { return ( call ) this.Dictionary[key] ; }
set { this.Dictionary[key] = value ; }
}
public void Add(string key, call CallList )
{
this.Dictionary.Add(key, CallList);
}
public void Remove(string key)
{
this.Dictionary.Remove(key);
}
public bool Contains(string key)
{
return this.Dictionary.Contains(key);
}
//we will get to this later
public ICollection Keys
{
get {return this.Dictionary.Keys;}
}
public void Update(string key, call CallList)
{
//TODO will this work?
this.Dictionary[key] = CallList;
}
}