예제 #1
0
 /// <summary>
 /// 移除一个Element
 /// </summary>
 /// <param name="element"></param>
 public void Detach(Element element)
 {
     _list.Remove(element);
 }
예제 #2
0
 /// <summary>
 /// 添加一个Element
 /// </summary>
 /// <param name="element"></param>
 public void Attach(Element element)
 {
     _list.Add(element);
 }