public override bool Equals(object obj)
        {
            EanEicCode other = (EanEicCode)obj;

            if (obj == null || other == null)
            {
                return(false);
            }
            return(Equals(other));
        }
Exemple #2
0
 public Opm(EanEicCode code)
 {
     Code = code;
 }
 protected bool Equals(EanEicCode other)
 {
     return(string.Equals(Code, other.Code));
 }