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 Description {
|
---|
16 | get => throw new NotSupportedException();
|
---|
17 | set => throw new NotSupportedException();
|
---|
18 | }
|
---|
19 |
|
---|
20 | public override string Path {
|
---|
21 | get => throw new NotSupportedException();
|
---|
22 | }
|
---|
23 |
|
---|
24 | [JsonIgnore]
|
---|
25 | public override IList<IJsonItem> Children {
|
---|
26 | get => throw new NotSupportedException();
|
---|
27 | protected set => throw new NotSupportedException();
|
---|
28 | }
|
---|
29 |
|
---|
30 | [JsonIgnore]
|
---|
31 | public override IJsonItem Parent {
|
---|
32 | get => throw new NotSupportedException();
|
---|
33 | set => throw new NotSupportedException();
|
---|
34 | }
|
---|
35 |
|
---|
36 | public override object Value {
|
---|
37 | get => throw new NotSupportedException();
|
---|
38 | set => throw new NotSupportedException();
|
---|
39 | }
|
---|
40 |
|
---|
41 | public override IEnumerable<object> Range {
|
---|
42 | get => throw new NotSupportedException();
|
---|
43 | set => throw new NotSupportedException();
|
---|
44 | }
|
---|
45 |
|
---|
46 | public override string ActualName {
|
---|
47 | get => throw new NotSupportedException();
|
---|
48 | set => throw new NotSupportedException();
|
---|
49 | }
|
---|
50 | }
|
---|
51 | }
|
---|