- Timestamp:
- 04/27/09 14:18:39 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core/3.3/Interfaces/IStorable.cs
r776 r1667 26 26 27 27 namespace HeuristicLab.Core { 28 28 29 /// <summary> 29 30 /// Interface to represent objects that are de- and serializeable. 30 31 /// </summary> 31 32 public interface IStorable { 33 32 34 /// <summary> 33 35 /// Gets the objects unique identifier. … … 40 42 /// <returns>The cloned object.</returns> 41 43 object Clone(); 44 42 45 /// <summary> 43 46 /// Clones the current instance, considering already cloned objects. … … 46 49 /// <returns>The cloned object.</returns> 47 50 object Clone(IDictionary<Guid, object> clonedObjects); 48 49 /// <summary>50 /// Saves the current instance as <see cref="XmlNode"/> in the specified51 /// <typeparamref name="document"/>.52 /// </summary>53 /// <param name="name">The (tag)name of the <see cref="XmlNode"/>.</param>54 /// <param name="document">The <see cref="XmlDocument"/> where to save the data.</param>55 /// <param name="persistedObjects">The dictionary of all already persisted objects.56 /// (Needed to avoid cycles.)</param>57 /// <returns>The saved <see cref="XmlNode"/>.</returns>58 XmlNode GetXmlNode(string name, XmlDocument document, IDictionary<Guid, IStorable> persistedObjects);59 /// <summary>60 /// Loads the persisted object from the specified <paramref name="node"/>.61 /// </summary>62 /// <param name="node">The <see cref="XmlNode"/> where the object is saved.</param>63 /// <param name="restoredObjects">A dictionary of all already restored objects. (Needed to avoid64 /// cycles.)</param>65 void Populate(XmlNode node, IDictionary<Guid, IStorable> restoredObjects);66 51 } 67 52 }
Note: See TracChangeset
for help on using the changeset viewer.