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)); }
public bool Remove(IDrugComponent item) { return(_components.Remove((FrenchDrugComponent)item)); }
public bool Contains(IDrugComponent item) { return(_components.Contains((FrenchDrugComponent)item)); }
public void Add(IDrugComponent component) { _components.Add((FrenchDrugComponent)component); }
public void Add(IDrugComponent component) { _components.Add((USDrugComponent)component); }