Esempio n. 1
0
        private bool Equals(FrenchDrugComponents other)
        {
            var isEqual = true;

            _components.ForEach(thisComponent =>
            {
                var otherComponent = other.FirstOrDefault(comp => comp.ComponentId == thisComponent.ComponentId);
                if (!thisComponent.Equals(otherComponent))
                {
                    isEqual = false;
                }
                ;
            });
            return(isEqual);
        }
Esempio n. 2
0
 public FrenchDrugPackaging()
 {
     _components = new FrenchDrugComponents();
 }
Esempio n. 3
0
 public FrenchDrugPackaging(string internalIdentifier)
 {
     InternalDrugIdentifier = internalIdentifier;
     _components            = new FrenchDrugComponents();
 }
Esempio n. 4
0
 public FrenchDrug()
 {
     _components = new FrenchDrugComponents();
 }