示例#1
0
 /// <summary>
 /// 删除
 /// </summary>
 /// <param name="mmc">MessageModelComponent</param>
 public override void Remove(MessageModelComponent mmc)
 {
     throw new Exception("不能删除");
 }
示例#2
0
 /// <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);
 }
示例#5
0
 /// <summary>
 /// 删除
 /// </summary>
 /// <param name="mmc">MessageModelComponent</param>
 public abstract void Remove(MessageModelComponent mmc);
示例#6
0
 /// <summary>
 /// 添加
 /// </summary>
 /// <param name="mmc">MessageModelComponent</param>
 public abstract void Add(MessageModelComponent mmc);