public ComplexTypeStatisticsModel(IEnumerable <T> sampleInstances) { var viewableType = typeof(T); var viewableProperties = PlottingUtilities.GetAllPlottableValues(viewableType); ViewableProperties = new ObservableCollection <PlottableProperty>(viewableProperties); _sampleInstances = new ObservableCollection <T>(sampleInstances); }
public void PopulatePlottableValues() { PlottableValues.Clear(); var plottableType = typeof(DarkLightResults); var plottableList = PlottingUtilities.GetAllPlottableValues(plottableType); foreach (var plottableValue in plottableList) { PlottableValues.Add(plottableValue); } }