Esempio n. 1
0
        public void Copy <TMODELE>(TMODELE modele) where TMODELE : ISynchronizable
        {
            Finition finition = modele as Finition;

            Nom          = finition.Nom;
            MiseAJour    = finition.MiseAJour;
            Creation     = finition.Creation;
            Suppression  = finition.Suppression;
            TypeFinition = finition.TypeFinition;
        }
Esempio n. 2
0
        public override bool Equals(object obj)
        {
            if (obj == null || GetType() != obj.GetType())
            {
                return(false);
            }

            Finition f = (Finition)obj;

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