Exemple #1
0
        public override int GetHashCode()
        {
            var h = Openness?.GetHashCode() ?? 1;

            h += Conscientiousness?.GetHashCode() ?? 1;
            h += Extraversion?.GetHashCode() ?? 1;
            h += Agreeableness?.GetHashCode() ?? 1;
            h += Neuroticism?.GetHashCode() ?? 1;
            return(h);
        }
Exemple #2
0
 public override string ToString()
 {
     return("(" +
            string.Join(",", Openness.ToString(), Conscientiousness.ToString(), Extraversion.ToString(),
                        Agreeableness.ToString(), Neuroticism.ToString()) + ")");
 }