Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/27/12 17:34:17 (12 years ago)
Author:
mkommend
Message:

#1722: Renamed indizes to indices in the whole trunk solution.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionViews/RunCollectionTabularView.cs

    r7469 r8139  
    164164      RunCollectionRowComparer rowComparer = new RunCollectionRowComparer();
    165165      if (sortedColumns.Count() != 0) {
    166         rowComparer.SortedIndizes = sortedColumns;
     166        rowComparer.SortedIndices = sortedColumns;
    167167        rowComparer.Matrix = Content;
    168168        Array.Sort(newSortedIndex, rowComparer);
     
    194194      }
    195195
    196       private List<KeyValuePair<int, SortOrder>> sortedIndizes;
    197       public IEnumerable<KeyValuePair<int, SortOrder>> SortedIndizes {
    198         get { return this.sortedIndizes; }
    199         set { sortedIndizes = new List<KeyValuePair<int, SortOrder>>(value); }
     196      private List<KeyValuePair<int, SortOrder>> sortedIndices;
     197      public IEnumerable<KeyValuePair<int, SortOrder>> SortedIndices {
     198        get { return this.sortedIndices; }
     199        set { sortedIndices = new List<KeyValuePair<int, SortOrder>>(value); }
    200200      }
    201201      private RunCollection matrix;
     
    212212        if (matrix == null)
    213213          throw new InvalidOperationException("Could not sort IStringConvertibleMatrix if the matrix member is null.");
    214         if (sortedIndizes == null)
     214        if (sortedIndices == null)
    215215          return 0;
    216216
    217         foreach (KeyValuePair<int, SortOrder> pair in sortedIndizes.Where(p => p.Value != SortOrder.None)) {
     217        foreach (KeyValuePair<int, SortOrder> pair in sortedIndices.Where(p => p.Value != SortOrder.None)) {
    218218          value1 = matrix.GetValue(x, pair.Key);
    219219          value2 = matrix.GetValue(y, pair.Key);
Note: See TracChangeset for help on using the changeset viewer.