public void Add(object value,string type) { arrayList.Add(value); dispatchEvent(addEvent,value,type); }