Beispiel #1
0
        public void Copy <TMODELE>(TMODELE modele) where TMODELE : ISynchronizable
        {
            Qualite qualite = modele as Qualite;

            Nom         = qualite.Nom;
            MiseAJour   = qualite.MiseAJour;
            Creation    = qualite.Creation;
            Suppression = qualite.Suppression;
        }
Beispiel #2
0
        public override bool Equals(object obj)
        {
            if (obj == null || GetType() != obj.GetType())
            {
                return(false);
            }

            Qualite q = (Qualite)obj;

            return((Nom == q.Nom) && (Creation == q.Creation));
        }