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)); }
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; }