public override bool Equals(object obj) { if (obj == null || GetType() != obj.GetType()) { return(false); } ModulePlace m = (ModulePlace)obj; return((Creation == m.Creation) && (Libelle == m.Libelle) && (Horizontal == m.Horizontal) && (Vertical == m.Vertical)); }
public void Copy <TMODELE>(TMODELE modele) where TMODELE : ISynchronizable { ModulePlace modulePLace = modele as ModulePlace; Module = modulePLace.Module; SlotPlace = modulePLace.SlotPlace; Produit = modulePLace.Produit; Libelle = modulePLace.Libelle; Horizontal = modulePLace.Horizontal; Vertical = modulePLace.Vertical; MiseAJour = modulePLace.MiseAJour; Creation = modulePLace.Creation; Suppression = modulePLace.Suppression; }