Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/05/13 16:37:17 (12 years ago)
Author:
sforsten
Message:

#2018:

  • added new methods to the interface IStringConvertibleMatrix as well as two structs. Also the event ItemChanged has been changed to ItemsChanged
  • class ValueTypeMatrix now implements IStringConvertibleMatrix instead of the classes which inherit from it
  • small changes have been applied to a lot of classes to correctly implement the changed interface IStringConvertibleMatrix
  • solution file, Build.cmd and PreBuildEvent.cmd have been added
Location:
branches/ImprovingStringConvertibleMatrix
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/ImprovingStringConvertibleMatrix

    • Property svn:ignore set to
      *.suo
  • branches/ImprovingStringConvertibleMatrix/HeuristicLab.Data/3.3/Interfaces/IStringConvertibleMatrix.cs

    r7259 r9286  
    3737    string GetValue(int rowIndex, int columnIndex);
    3838    bool SetValue(string value, int rowIndex, int columnIndex);
     39    bool SetValue(RowColumnValue rowColumnValue);
     40    bool SetValue(IEnumerable<RowColumnValue> rowColumnValues);
    3941
    4042    event EventHandler ColumnsChanged;
     
    4345    event EventHandler RowNamesChanged;
    4446    event EventHandler SortableViewChanged;
    45     event EventHandler<EventArgs<int, int>> ItemChanged;
     47    event EventHandler<EventArgs<IEnumerable<Position>>> ItemsChanged;
    4648    event EventHandler Reset;
     49  }
     50  public struct Position {
     51    public readonly int Row, Column;
     52    public Position(int row, int column) {
     53      Row = row;
     54      Column = column;
     55    }
     56  }
     57  public struct RowColumnValue {
     58    public readonly Position Position;
     59    public readonly string Value;
    4760
     61    public RowColumnValue(Position position, string value) {
     62      Position = position;
     63      Value = value;
     64    }
    4865  }
    4966}
Note: See TracChangeset for help on using the changeset viewer.