/// <summary> /// 删除 /// </summary> /// <param name="mmc">MessageModelComponent</param> public override void Remove(MessageModelComponent mmc) { throw new Exception("不能删除"); }
/// <summary> /// 添加 /// </summary> /// <param name="mmc">MessageModelComponent</param> public override void Add(MessageModelComponent mmc) { throw new Exception("不能添加"); }
/// <summary> /// 删除 /// </summary> /// <param name="mmc">MessageModelComponent</param> public override void Remove(MessageModelComponent mmc) { _list.Remove(mmc); }
/// <summary> /// 添加 /// </summary> /// <param name="mmc">MessageModelComponent</param> public override void Add(MessageModelComponent mmc) { _list.Add(mmc); }
/// <summary> /// 删除 /// </summary> /// <param name="mmc">MessageModelComponent</param> public abstract void Remove(MessageModelComponent mmc);
/// <summary> /// 添加 /// </summary> /// <param name="mmc">MessageModelComponent</param> public abstract void Add(MessageModelComponent mmc);