Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Text;
|
---|
5 | using System.Threading.Tasks;
|
---|
6 | using HeuristicLab.Core;
|
---|
7 |
|
---|
8 | namespace HeuristicLab.Manufacture {
|
---|
9 | public class DummyConverter : BaseConverter {
|
---|
10 | public override void InjectData(IItem item, JsonItem data) {
|
---|
11 | // do nothing because the instance already exists and
|
---|
12 | // there are no values to inject
|
---|
13 | }
|
---|
14 |
|
---|
15 | public override JsonItem ExtractData(IItem value) =>
|
---|
16 | new JsonItem() { Default = value.GetType().Name };
|
---|
17 | }
|
---|
18 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.