コード例 #1
0
 public void AddApplication(Application app)
 {
     foreach (Application a in applications)
     {
         if (a.Id == app.Id)
         {
             return;
         }
     }
     applications.Add(app);
 }
コード例 #2
0
 public void RemoveApplication(Application app)
 {
     if (applications.Contains(app))
     {
         applications.Remove(app);
     }
 }