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
|
Rev | Line | |
---|
[17446] | 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 |
|
---|
[17828] | 10 | public override bool CanConvertType(Type t) =>
|
---|
[17843] | 11 | t.GetInterfaces().Any(x => x == typeof(IResultParameter));
|
---|
[17828] | 12 |
|
---|
[17446] | 13 | public override IJsonItem Extract(IItem value, IJsonItemConverter root) {
|
---|
[18059] | 14 | return new UnsupportedJsonItem();
|
---|
[17446] | 15 | }
|
---|
| 16 |
|
---|
[18059] | 17 | public override void Inject(IItem item, IJsonItem data, IJsonItemConverter root) {}
|
---|
[17446] | 18 | }
|
---|
| 19 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.