public static HistoricDataWhatToShow FromValue(string hddfString)
 {
     return(HistoricDataWhatToShows.Single(r => String.Equals(r.Name, hddfString, StringComparison.OrdinalIgnoreCase)));
 }
 public static HistoricDataWhatToShow FromKey(int value)
 {
     return(HistoricDataWhatToShows.Single(r => r.Value == value));
 }
 private HistoricDataWhatToShow(int val, string name)
 {
     Value = val;
     Name  = name;
     HistoricDataWhatToShows.Add(this);
 }