コード例 #1
0
 public override void Remove(CampComponent campComponent)
 {
     throw new InvalidOperationException("Operation does not exist for Child");
 }
コード例 #2
0
 public abstract void Add(CampComponent campComponent);
コード例 #3
0
 public abstract void Remove(CampComponent campComponent);
コード例 #4
0
ファイル: CampComposite.cs プロジェクト: wmdanor/oop_std_20
 public override void Remove(CampComponent campComponent)
 {
     _children.Remove(campComponent ?? throw new ArgumentNullException("campComponent"));
 }