Changeset 17283 for branches/3026_IntegrationIntoSymSpace/HeuristicLab.Manufacture/Converters/DummyConverter.cs
- Timestamp:
- 10/01/19 14:36:32 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3026_IntegrationIntoSymSpace/HeuristicLab.Manufacture/Converters/DummyConverter.cs
r17281 r17283 8 8 namespace HeuristicLab.Manufacture { 9 9 public class DummyConverter : BaseConverter { 10 public override void InjectData(IItem item, Componentdata) {10 public override void InjectData(IItem item, JsonItem data) { 11 11 // do nothing because the instance already exists and 12 12 // there are no values to inject 13 13 } 14 14 15 public override ComponentExtractData(IItem value) =>16 new Component() { Default = value.GetType().Name };15 public override JsonItem ExtractData(IItem value) => 16 new JsonItem() { Default = value.GetType().Name }; 17 17 } 18 18 }
Note: See TracChangeset
for help on using the changeset viewer.