예제 #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));
        }
예제 #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;
        }