Exemplo n.º 1
0
        public void Copy <TMODELE>(TMODELE modele) where TMODELE : ISynchronizable
        {
            TypeSlot typeSlot = modele as TypeSlot;

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

            TypeSlot t = (TypeSlot)obj;

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