Ejemplo n.º 1
0
        public override bool Equals(object obj)
        {
            if (obj == null || GetType() != obj.GetType())
            {
                return(false);
            }

            SlotPlace s = (SlotPlace)obj;

            return((Creation == s.Creation) && (Libelle == s.Libelle));
        }
Ejemplo n.º 2
0
        public void Copy <TMODELE>(TMODELE modele) where TMODELE : ISynchronizable
        {
            SlotPlace slotPLace = modele as SlotPlace;

            Module             = slotPLace.Module;
            Slot               = slotPLace.Slot;
            TypeModulePlacable = slotPLace.TypeModulePlacable;
            Libelle            = slotPLace.Libelle;
            MiseAJour          = slotPLace.MiseAJour;
            Creation           = slotPLace.Creation;
            Suppression        = slotPLace.Suppression;
        }