Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/31/13 15:17:33 (11 years ago)
Author:
gkronber
Message:

#1483: merged r9740 into the stable branch

Location:
stable
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • stable

  • stable/HeuristicLab.Analysis

  • stable/HeuristicLab.Analysis/3.3/DataVisualization/DataRow.cs

    r9456 r9829  
    7676      this.values = new ObservableList<double>(original.values);
    7777    }
    78     public DataRow()
    79       : base() {
    80       VisualProperties = new DataRowVisualProperties();
    81       values = new ObservableList<double>();
    82     }
    8378    public DataRow(string name)
    8479      : base(name) {
     80      if (string.IsNullOrEmpty(name)) throw new ArgumentException("Name of a DataRow cannot be empty", name);
    8581      VisualProperties = new DataRowVisualProperties(name);
    8682      values = new ObservableList<double>();
     
    8884    public DataRow(string name, string description)
    8985      : base(name, description) {
     86      if (string.IsNullOrEmpty(name)) throw new ArgumentException("Name of a DataRow cannot be empty", name);
    9087      VisualProperties = new DataRowVisualProperties(name);
    9188      values = new ObservableList<double>();
     
    9390    public DataRow(string name, string description, IEnumerable<double> values)
    9491      : base(name, description) {
     92      if (string.IsNullOrEmpty(name)) throw new ArgumentException("Name of a DataRow cannot be empty", name);
    9593      VisualProperties = new DataRowVisualProperties(name);
    9694      this.values = new ObservableList<double>(values);
Note: See TracChangeset for help on using the changeset viewer.