Beispiel #1
0
 private bool Equals(IDrugComponent other)
 {
     return(string.Equals(InternalDrugIdentifier, other.InternalDrugIdentifier) &&
            string.Equals(DrugShape, other.DrugShape) &&
            string.Equals(ComponentId, other.ComponentId) &&
            string.Equals(ComponentName, other.ComponentName) &&
            string.Equals(ComponentAmount, other.ComponentAmount) &&
            string.Equals(ComponentAmountUnit, other.ComponentAmountUnit) &&
            string.Equals(ComponentType, other.ComponentType));
 }
Beispiel #2
0
 public bool Remove(IDrugComponent item)
 {
     return(_components.Remove((FrenchDrugComponent)item));
 }
Beispiel #3
0
 public bool Contains(IDrugComponent item)
 {
     return(_components.Contains((FrenchDrugComponent)item));
 }
Beispiel #4
0
 public void Add(IDrugComponent component)
 {
     _components.Add((FrenchDrugComponent)component);
 }
Beispiel #5
0
 public void Add(IDrugComponent component)
 {
     _components.Add((USDrugComponent)component);
 }