コード例 #1
0
ファイル: Program.cs プロジェクト: Nigje/TrainingProject
 public override void Remove(ComponentAbstract componentAbstract)
 {
     _list.Remove(componentAbstract);
 }
コード例 #2
0
ファイル: Program.cs プロジェクト: Nigje/TrainingProject
 public override void Add(ComponentAbstract componentAbstract)
 {
     _list.Add(componentAbstract);
 }
コード例 #3
0
ファイル: Program.cs プロジェクト: Nigje/TrainingProject
 public override void Remove(ComponentAbstract componentAbstract)
 {
     Console.WriteLine("Cannot remove to a PrimitiveElement");
 }
コード例 #4
0
ファイル: Program.cs プロジェクト: Nigje/TrainingProject
 public override void Add(ComponentAbstract componentAbstract)
 {
     Console.WriteLine("Cannot add to a PrimitiveElement");
 }
コード例 #5
0
ファイル: Program.cs プロジェクト: Nigje/TrainingProject
 public abstract void Remove(ComponentAbstract componentAbstract);
コード例 #6
0
ファイル: Program.cs プロジェクト: Nigje/TrainingProject
 public abstract void Add(ComponentAbstract componentAbstract);