示例#1
0
 public void RemoveAnswer(ChecklistAnswer answer)
 {
     if (_answers.Contains(answer))
     {
         _answers.Remove(answer);
     }
 }
示例#2
0
 public void AddAnswer(ChecklistAnswer answer)
 {
     if (!_answers.Contains(answer))
     {
         _answers.Add(answer);
     }
 }