예제 #1
0
 public ProfessorChecker(ProfessorCheckerSideConfig top, ProfessorCheckerSideConfig right, ProfessorCheckerSideConfig bottom, ProfessorCheckerSideConfig left)
 {
     _sides = new[] { top, right, bottom, left };
     _id = Guid.NewGuid();
 }
예제 #2
0
 public ProfessorChecker(ProfessorCheckerSideConfig top, ProfessorCheckerSideConfig right, ProfessorCheckerSideConfig bottom, ProfessorCheckerSideConfig left, Guid id)
 {
     _id = id;
     _sides = new[] { top, right, bottom, left };
 }
예제 #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);
 }