- Timestamp:
- 10/01/19 14:36:32 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3026_IntegrationIntoSymSpace/HeuristicLab.Manufacture/Interfaces/IJsonItemConverter.cs
r17281 r17283 10 10 public interface IJsonItemConverter { 11 11 /// <summary> 12 /// Extracts all infos out of an IItem to create a Component.12 /// Extracts all infos out of an IItem to create a JsonItem. 13 13 /// (For template generation.) 14 14 /// </summary> 15 15 /// <param name="value">The IItem to extract infos.</param> 16 /// <returns> Componentwith infos to reinitialise the IItem.</returns>17 ComponentExtract(IItem value);16 /// <returns>JsonItem with infos to reinitialise the IItem.</returns> 17 JsonItem Extract(IItem value); 18 18 19 19 /// <summary> 20 /// Injects the saved infos from the Componentinto the IItem.20 /// Injects the saved infos from the JsonItem into the IItem. 21 21 /// (Sets the necessary values.) 22 22 /// </summary> 23 23 /// <param name="item">The IItem which get the data injected.</param> 24 /// <param name="data">The Componentwith the saved values.</param>25 void Inject(IItem item, Componentdata);24 /// <param name="data">The JsonItem with the saved values.</param> 25 void Inject(IItem item, JsonItem data); 26 26 } 27 27 }
Note: See TracChangeset
for help on using the changeset viewer.