-
Notifications
You must be signed in to change notification settings - Fork 0
/
TestClasses.cs
125 lines (107 loc) · 3.16 KB
/
TestClasses.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
using System;
using System.Collections.Generic;
using System.Text;
namespace TestClasses
{
public class InheritedExampleGeneric : ExampleGeneric<InheritedDocumentLevel2> { }
public class ExampleGeneric<T>
{
public IEnumerable<T> listOfObjects;
}
public class InheritedDocumentLevel2 : InheritedDocumentLevel1
{
public string template;
public ExampleEnum3 enumValue;
public ExampleSubClass3 exampleObject;
public List<EnumExample2> listOfEnums;
public IEnumerable<ExampleSubClass4> listOfObjects4;
public List<ExampleSubClass5> listOfObjects5;
public List<ExampleSubClass6> listOfObjects6;
}
public class InheritedDocumentLevel1 : BaseDocumentExample1
{
public IEnumerable<ExampleSubClass2> listOfObjects2;
}
public class BaseDocumentExample1
{
public string example1;
public string example2;
public string example3;
public string example4;
public string example5;
public string example6;
public string example7;
public string example8;
public string example9;
public string example10;
public double example11;
public string example12;
public string example13;
public bool exampleBool;
public IEnumerable<int> intList;
public Dictionary<string, List<string>> dictionaryOfList1;
public EnumExample1 someEnum1;
public IEnumerable<ExampleSubClass1> listOfObjects1;
}
public enum EnumExample1
{
Example1, Example2
}
public enum EnumExample2
{
Example1, Example2, Example3
}
public enum ExampleEnum3
{
Example1, Example2
}
public class ExampleSubClass1
{
public int exampleIntValue1 { get; set; }
public int exampleIntValue2 { get; set; }
public IEnumerable<string> someStringList { get; set; }
}
public class ExampleSubClass2
{
public string example1 { get; set; }
public string example2 { get; set; }
}
public class ExampleSubClass3
{
public string example1 { get; set; }
public string example2 { get; set; }
}
public class ExampleSubClass4
{
public string example1 { get; set; }
public string example2 { get; set; }
}
public class ExampleSubClass5
{
public string example1 { get; set; }
public string example2 { get; set; }
public bool someBool { get; set; }
public List<string> listOfStrings;
public List<ExampleSubClass7> listOfObjects7;
}
public class ExampleSubClass6
{
public int exampleInt1 { get; set; }
public string example1 { get; set; }
public string example2 { get; set; }
public string example3 { get; set; }
public List<string> listOfStrings { get; set; }
public List<ExampleSubClass8> listOfObjects8;
public IDictionary<string, IDictionary<string, string>> dictionaryOfDictionary { get; set; }
}
public class ExampleSubClass7
{
public string example1 { get; set; }
public List<string> listOfStrings { get; set; }
}
public class ExampleSubClass8
{
public string example1 { get; set; }
public List<string> listOfStrings { get; set; }
}
}