Beispiel #1
0
 public void PuneAbsenta(IDElev IDElev, Nume nume, Prenume prenume, SituatieOra situatie)
 {
     Contract.Requires(IDElev != null);
     Contract.Requires(nume != null);
     Contract.Requires(prenume != null);
     Contract.Requires(situatie != null);
 }
Beispiel #2
0
        public override bool Equals(object obj)
        {
            var elev = (Elev)obj;

            if (elev != null)
            {
                return(Nume.Equals(elev.Nume));
            }
            return(false);
        }
Beispiel #3
0
        internal Elev(Nume nume, Clasa clasa)
        {
            Contract.Requires(nume != null, "nume");
            Contract.Requires(clasa != null, "clasa");

            Nume      = nume;
            Prenume   = Prenume;
            Clasa     = clasa;
            _Situatie = new List <Situatie>();
        }
Beispiel #4
0
 public override int GetHashCode()
 {
     return(Nume.GetHashCode());
 }
Beispiel #5
0
        //absente
        #endregion

        #region override object
        public override string ToString()
        {
            return(Nume.ToString());
        }