示例#1
0
 public bool Add(IAssignment assignment)
 {
     if (Assignments.Contains(assignment))
     {
         return(false);
     }
     else
     {
         Assignments.Add(assignment);
         return(true);
     }
 }