Last change
on this file since 17417 was
17408,
checked in by dpiringe, 5 years ago
|
#3026 moved JsonItem, ResultItem and UnsupportedJsonItem into new folder Models
|
File size:
1.2 KB
|
Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Text;
|
---|
5 | using System.Threading.Tasks;
|
---|
6 | using Newtonsoft.Json;
|
---|
7 |
|
---|
8 | namespace HeuristicLab.JsonInterface {
|
---|
9 | public class UnsupportedJsonItem : JsonItem {
|
---|
10 | public override string Name {
|
---|
11 | get => throw new NotSupportedException();
|
---|
12 | set => throw new NotSupportedException();
|
---|
13 | }
|
---|
14 |
|
---|
15 | public override string Path {
|
---|
16 | get => throw new NotSupportedException();
|
---|
17 | }
|
---|
18 |
|
---|
19 | [JsonIgnore]
|
---|
20 | public override IList<IJsonItem> Children {
|
---|
21 | get => throw new NotSupportedException();
|
---|
22 | protected set => throw new NotSupportedException();
|
---|
23 | }
|
---|
24 |
|
---|
25 | [JsonIgnore]
|
---|
26 | public override IJsonItem Parent {
|
---|
27 | get => throw new NotSupportedException();
|
---|
28 | set => throw new NotSupportedException();
|
---|
29 | }
|
---|
30 |
|
---|
31 | public override object Value {
|
---|
32 | get => throw new NotSupportedException();
|
---|
33 | set => throw new NotSupportedException();
|
---|
34 | }
|
---|
35 |
|
---|
36 | public override IEnumerable<object> Range {
|
---|
37 | get => throw new NotSupportedException();
|
---|
38 | set => throw new NotSupportedException();
|
---|
39 | }
|
---|
40 |
|
---|
41 | public override string ActualName {
|
---|
42 | get => throw new NotSupportedException();
|
---|
43 | set => throw new NotSupportedException();
|
---|
44 | }
|
---|
45 | }
|
---|
46 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.