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

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

            TypeModule t = (TypeModule)obj;

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