Ejemplo n.º 1
0
 public Review(Reviewer reviewer, string grade, Paper paper, Recomandation recomandation)
 {
     this.reviewer      = reviewer;
     this.grade         = grade;
     this.paper         = paper;
     this.recomandation = recomandation;
 }
Ejemplo n.º 2
0
 public Review()
 {
     this.idReview      = 1;
     this.reviewer      = new Reviewer();
     this.grade         = "";
     this.paper         = new Paper();
     this.recomandation = new Recomandation();
 }
Ejemplo n.º 3
0
 public override bool Equals(object other)
 {
     if (other != null && other.GetType() == this.GetType())
     {
         Reviewer v = (Reviewer)other;
         if (v.idReviewer != this.idReviewer ||
             !(v.name.Equals(this.name)) ||
             !(v.affilation.Equals(this.affilation))
             )
         {
             return(false);
         }
         return(true);
     }
     return(false);
 }