public bool Equals(Annotator other) { return(other != null && Id == other.Id && YearsOfExperience == other.YearsOfExperience && Ranking == other.Ranking); }
public DataSetAnnotation(string instanceSmell, int severity, Annotator annotator, List <SmellHeuristic> applicableHeuristics) { InstanceSmell = new CodeSmell(instanceSmell); Severity = severity; Annotator = annotator; ApplicableHeuristics = applicableHeuristics; Validate(); }