Exemple #1
0
        public void Copy <TMODELE>(TMODELE modele) where TMODELE : ISynchronizable
        {
            StatutDevis statutDevis = modele as StatutDevis;

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

            StatutDevis s = (StatutDevis)obj;

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