Last change
on this file was
18059,
checked in by dpiringe, 3 years ago
|
#3026
- removed/renamed all interfaces, classes and views related to results (are replaced by RunCollectionModifiers)
- fixed a bug in JsonTemplateInstantiator to prevent errors for opening templates without a defined property for RunCollectionModifiers
|
File size:
587 bytes
|
Line | |
---|
1 | using System;
|
---|
2 | using System.Linq;
|
---|
3 | using HeuristicLab.Core;
|
---|
4 | using HeuristicLab.Optimization;
|
---|
5 |
|
---|
6 | namespace HeuristicLab.JsonInterface {
|
---|
7 | public class ResultParameterConverter : BaseConverter {
|
---|
8 | public override int Priority => 5;
|
---|
9 |
|
---|
10 | public override bool CanConvertType(Type t) =>
|
---|
11 | t.GetInterfaces().Any(x => x == typeof(IResultParameter));
|
---|
12 |
|
---|
13 | public override IJsonItem Extract(IItem value, IJsonItemConverter root) {
|
---|
14 | return new UnsupportedJsonItem();
|
---|
15 | }
|
---|
16 |
|
---|
17 | public override void Inject(IItem item, IJsonItem data, IJsonItemConverter root) {}
|
---|
18 | }
|
---|
19 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.