Changeset 16471
- Timestamp:
- 12/30/18 09:09:24 (6 years ago)
- Location:
- branches/2520_PersistenceReintegration
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2520_PersistenceReintegration/HeuristicLab.Collections/3.3/IObservableKeyedCollection.cs
r16453 r16471 20 20 #endregion 21 21 22 using HEAL.Fossil; 22 23 namespace HeuristicLab.Collections { 24 [StorableType("5be307b0-41d7-4d8d-a289-fba09fce33f4")] 23 25 public interface IObservableKeyedCollection<TKey, TItem> : IObservableCollection<TItem>, INotifyObservableKeyedCollectionItemsChanged<TKey, TItem> { 24 26 TItem this[TKey key] { get; } -
branches/2520_PersistenceReintegration/HeuristicLab.Collections/3.3/IObservableKeyedList.cs
r16453 r16471 22 22 #endregion 23 23 24 using HEAL.Fossil; 25 24 26 namespace HeuristicLab.Collections { 27 [StorableType("b26c93c5-eb74-41a9-982d-985df4a1eb77")] 25 28 public interface IObservableKeyedList<TKey, TItem> : IObservableKeyedCollection<TKey, TItem>, IObservableList<TItem> { 26 29 } -
branches/2520_PersistenceReintegration/HeuristicLab.Collections/3.3/IndexedItem.cs
r16453 r16471 1 #region License Information 1 using HEAL.Fossil; 2 #region License Information 2 3 /* HeuristicLab 3 4 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) … … 21 22 22 23 namespace HeuristicLab.Collections { 24 [StorableType(StorableMemberSelection.AllFields, "0a9d0728-5fdc-4e16-b02b-545dbdf0b0fa")] 23 25 public struct IndexedItem<T> { 24 26 private readonly int index; -
branches/2520_PersistenceReintegration/HeuristicLab.Common/3.3/Content/IContent.cs
r16453 r16471 20 20 #endregion 21 21 22 using HEAL.Fossil; 22 23 namespace HeuristicLab.Common { 24 [StorableType("b753064f-b2b6-4c13-b76e-2c4ec575c8cf")] 23 25 public interface IContent { } 24 26 } -
branches/2520_PersistenceReintegration/HeuristicLab.Common/3.3/Content/IStorableContent.cs
r16453 r16471 20 20 #endregion 21 21 22 using HEAL.Fossil; 22 23 23 24 namespace HeuristicLab.Common { 25 [StorableType("25b6ffb1-8689-4ad7-81ed-bcc5065ee2a8")] 24 26 public interface IStorableContent : IContent { 25 27 string Filename { get; set; } -
branches/2520_PersistenceReintegration/HeuristicLab.Common/3.3/DeepCloneable.cs
r16453 r16471 20 20 #endregion 21 21 22 using HEAL.Fossil; 22 23 23 24 namespace HeuristicLab.Common { 25 [StorableType("8ed3dd0c-1cb8-4b42-8053-05bd1fcf48ef")] 24 26 /// <summary> 25 27 /// Represents a base class for all deeply cloneable objects. 26 28 /// </summary> 27 29 public abstract class DeepCloneable : IDeepCloneable { 30 [StorableConstructor] 31 protected DeepCloneable(StorableConstructorFlag _) { } 32 28 33 protected DeepCloneable(DeepCloneable original, Cloner cloner) { 29 34 cloner.RegisterClonedObject(original, this); -
branches/2520_PersistenceReintegration/HeuristicLab.Common/3.3/HeuristicLab.Common-3.3.csproj
r16452 r16471 105 105 </PropertyGroup> 106 106 <ItemGroup> 107 <Reference Include="Google.Protobuf, Version=3.6.1.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604, processorArchitecture=MSIL"> 108 <HintPath>..\..\packages\Google.Protobuf.3.6.1\lib\net45\Google.Protobuf.dll</HintPath> 109 </Reference> 110 <Reference Include="HEAL.Fossil, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 111 <HintPath>..\..\packages\HEAL.Fossil.1.0.0\lib\netstandard2.0\HEAL.Fossil.dll</HintPath> 112 </Reference> 107 113 <Reference Include="System" /> 108 114 <Reference Include="System.Core"> … … 125 131 <Compile Include="AsyncHelper.cs" /> 126 132 <Compile Include="CancelEventArgs.cs" /> 133 <None Include="packages.config" /> 127 134 <None Include="Plugin.cs.frame" /> 128 135 <Compile Include="ColorGradient.cs" /> -
branches/2520_PersistenceReintegration/HeuristicLab.Common/3.3/NaturalStringComparer.cs
r16453 r16471 22 22 using System.Collections.Generic; 23 23 using System.Text.RegularExpressions; 24 using HEAL.Fossil; 24 25 25 26 namespace HeuristicLab.Common { 27 [StorableType("fa583e6f-b8cf-4046-b144-4c1938caa418")] 26 28 public class NaturalStringComparer : IComparer<string> { 29 30 [StorableConstructor] 31 protected NaturalStringComparer(StorableConstructorFlag _) { } 32 public NaturalStringComparer() { } 33 27 34 public int Compare(string x, string y) { 28 35 if (x == y) return 0; -
branches/2520_PersistenceReintegration/HeuristicLab.Common/3.3/Point2D.cs
r16453 r16471 23 23 using System.ComponentModel; 24 24 using System.Globalization; 25 using HEAL.Fossil; 25 26 26 27 namespace HeuristicLab.Common { 27 28 [Serializable] 29 [StorableType("9c4b8927-6b8e-490f-a367-78091ccf1494")] 28 30 public struct Point2D<T> where T : struct, IEquatable<T> { 29 31 public static readonly Point2D<T> Empty = new Point2D<T>(); 30 32 33 [Storable] 31 34 private T x; 32 35 public T X { 33 36 get { return x; } 34 37 } 38 39 [Storable] 35 40 private T y; 36 41 public T Y { … … 38 43 } 39 44 45 [Storable] 40 46 private object tag; 41 47 public object Tag { -
branches/2520_PersistenceReintegration/HeuristicLab.Common/3.3/ReferenceEqualityComparer.cs
r16453 r16471 21 21 22 22 using System.Collections.Generic; 23 using HEAL.Fossil; 23 24 24 25 namespace HeuristicLab.Common { 26 [StorableType("c4231b4c-94ac-4b4a-bd99-3deea73237de")] 25 27 public class ReferenceEqualityComparer : IEqualityComparer<object> { 26 28 bool IEqualityComparer<object>.Equals(object x, object y) { -
branches/2520_PersistenceReintegration/HeuristicLab.Tests/HeuristicLab.Persistence.Fossil/UseCases.cs
r16467 r16471 162 162 } 163 163 } 164 165 // TODO: 166 // - IndexedItem and IndexedDataTable 167 // - Point2D from HL.Common 164 168 165 169 [ClassInitialize]
Note: See TracChangeset
for help on using the changeset viewer.