Changeset 8085 for branches/GP-MoveOperators/HeuristicLab.Common
- Timestamp:
- 06/21/12 18:02:33 (12 years ago)
- Location:
- branches/GP-MoveOperators
- Files:
-
- 3 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/GP-MoveOperators
- Property svn:ignore
-
old new 20 20 bin 21 21 protoc.exe 22 _ReSharper.HeuristicLab 3.3 Tests
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/GP-MoveOperators/HeuristicLab.Common/3.3/HeuristicLab.Common-3.3.csproj
r7626 r8085 124 124 <Compile Include="Content\IStorableContent.cs" /> 125 125 <Compile Include="Constants.cs" /> 126 <Compile Include="EnumerableExtensions.cs" /> 127 <Compile Include="MatrixExtensions.cs" /> 126 128 <Compile Include="NaturalStringComparer.cs" /> 127 129 <Compile Include="ObjectExtensions.cs" /> -
branches/GP-MoveOperators/HeuristicLab.Common/3.3/ObjectExtensions.cs
r7796 r8085 31 31 namespace HeuristicLab.Common { 32 32 public static class ObjectExtensions { 33 public static IEnumerable<T> ToEnumerable<T>(this T item) { 34 return new[] { item }; 35 } 36 33 37 public static IEnumerable<object> GetObjectGraphObjects(this object obj, HashSet<string> excludedMembers = null, bool excludeStaticMembers = false) { 34 38 if (obj == null) return Enumerable.Empty<object>();
Note: See TracChangeset
for help on using the changeset viewer.