Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/25/12 17:21:36 (12 years ago)
Author:
abeham
Message:

#1869:

  • Removed ToEnumerable extension method (I agree with gkronber and it's just one occurrence)
  • Reset rowNumber to 0 when rebuilding the combined data table
  • Some minor changes (moved ctor below variable/property declaration, replaced some obvious variable types with var)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Common/3.3/ObjectExtensions.cs

    r7981 r8108  
    3131namespace HeuristicLab.Common {
    3232  public static class ObjectExtensions {
    33     public static IEnumerable<T> ToEnumerable<T>(this T item) {
    34       return new[] { item };
    35     }
    36 
    3733    public static IEnumerable<object> GetObjectGraphObjects(this object obj, HashSet<string> excludedMembers = null, bool excludeStaticMembers = false) {
    3834      if (obj == null) return Enumerable.Empty<object>();
Note: See TracChangeset for help on using the changeset viewer.