/// <summary> /// Remove an existing Symptom from the collection /// </summary> /// <pdGenerated>Default Remove</pdGenerated> public void RemoveSymptoms(Symptom oldSymptom) { if (oldSymptom == null) { return; } if (_symptoms != null) { if (_symptoms.Contains(oldSymptom)) { _symptoms.Remove(oldSymptom); } } }
/// <summary> /// Add a new Symptom in the collection /// </summary> /// <pdGenerated>Default Add</pdGenerated> public void AddSymptoms(Symptom newSymptom) { if (newSymptom == null) { return; } if (_symptoms == null) { _symptoms = new List <Symptom>(); } if (!_symptoms.Contains(newSymptom)) { _symptoms.Add(newSymptom); } }