Exemplo n.º 1
0
 public double GetValueBySpecificEmotion(Faces emotions, string emotionName) =>
 (double)emotions.GetType().GetProperty(emotionName).GetValue(emotions, null);