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