예제 #1
0
        public void Copy <TMODELE>(TMODELE modele) where TMODELE : ISynchronizable
        {
            TypeModuleTypeSlot typeModuleTypeSlot = modele as TypeModuleTypeSlot;

            TypeSlot    = typeModuleTypeSlot.TypeSlot;
            TypeModule  = typeModuleTypeSlot.TypeModule;
            MiseAJour   = typeModuleTypeSlot.MiseAJour;
            Creation    = typeModuleTypeSlot.Creation;
            Suppression = typeModuleTypeSlot.Suppression;
        }
예제 #2
0
        public override bool Equals(object obj)
        {
            if (obj == null || GetType() != obj.GetType())
            {
                return(false);
            }

            TypeModuleTypeSlot t = (TypeModuleTypeSlot)obj;

            return(Creation == t.Creation);
        }