/// <summary> /// 添加处理 /// </summary> /// <param name="handle"></param> private int AddHandle2List(UpdateHandle handle) { int id = GetHandleId(); HandleList.Add(handle); IndexDict.Add(id, handle); return(id); }
private void RestoreList() { int len = useList.Count; HandleList.RemoveRange(0, len); for (int i = 0; i < useList.Count; i++) { HandleList.Add(useList[i]); } }