Ejemplo n.º 1
0
 public ProfessorChecker(ProfessorCheckerSideConfig top, ProfessorCheckerSideConfig right, ProfessorCheckerSideConfig bottom, ProfessorCheckerSideConfig left)
 {
     _sides = new[] { top, right, bottom, left };
     _id = Guid.NewGuid();
 }
Ejemplo n.º 2
0
 public ProfessorChecker(ProfessorCheckerSideConfig top, ProfessorCheckerSideConfig right, ProfessorCheckerSideConfig bottom, ProfessorCheckerSideConfig left, Guid id)
 {
     _id = id;
     _sides = new[] { top, right, bottom, left };
 }
Ejemplo n.º 3
0
 public bool Equals(ProfessorCheckerSideConfig other)
 {
     if (ReferenceEquals(null, other)) return false;
     if (ReferenceEquals(this, other)) return true;
     return Equals(other._bodyPart, _bodyPart) && Equals(other._color, _color);
 }