forked from SolrNet/SolrNet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGallio40.xml
323 lines (318 loc) · 17.1 KB
/
Gallio40.xml
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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
<?xml version="1.0"?>
<doc>
<assembly>
<name>Gallio40</name>
</assembly>
<members>
<member name="T:Gallio.Framework.Data.DataObjects.DynamicObject">
<summary>
Original code was copied from MSDN, with complete overhaul performed by Carey's team.
Dictionary replaced with a List of KeyValuePair to retain the original ordering.
</summary>
</member>
<member name="F:Gallio.Framework.Data.DataObjects.DynamicObject.storage">
<summary>
Internal storage of dynamically accessible data
</summary>
</member>
<member name="M:Gallio.Framework.Data.DataObjects.DynamicObject.TryGetMember(System.Dynamic.GetMemberBinder,System.Object@)">
<summary>
Dynamic Get method called by the Dot Net Framework when an attempt is made to access
a property not defined in this class at compile time.
If a dynamic property doesn't exists on the object, the result will be NULL.
</summary>
</member>
<member name="M:Gallio.Framework.Data.DataObjects.DynamicObject.TryGetMember(System.String,System.Object@)">
<summary>
Dynamic Get method called by the Dot Net Framework when an attempt is made to access
a property not defined in this class at compile time.
If a dynamic property doesn't exists on the object, the result will be NULL.
</summary>
</member>
<member name="M:Gallio.Framework.Data.DataObjects.DynamicObject.GetMember(System.String)">
<summary>
Get method enables late-binding type of behavior when the Member Name is known at
compile time.
</summary>
</member>
<member name="M:Gallio.Framework.Data.DataObjects.DynamicObject.TryGetMemberWorker(System.String,System.Object@)">
<summary>
Retrieve DynamicObject member by name.
</summary>
<returns></returns>
</member>
<member name="M:Gallio.Framework.Data.DataObjects.DynamicObject.GetMemberNames">
<summary>
Returns list of the Member Names
</summary>
</member>
<member name="M:Gallio.Framework.Data.DataObjects.DynamicObject.TrySetMember(System.Dynamic.SetMemberBinder,System.Object)">
<summary>
Dynamic Set method called by the Dot Net Framework when an attempt is made to set
a property not defined in this class.
</summary>
</member>
<member name="M:Gallio.Framework.Data.DataObjects.DynamicObject.TrySetMember(System.String,System.Object)">
<summary>
Method allows properties to set by name, which is useful for dynamic situations.
</summary>
</member>
<member name="M:Gallio.Framework.Data.DataObjects.DynamicObject.TrySetMemberWorker(System.String,System.Object)">
<summary>
Worker method does the actual setting of values
</summary>
</member>
<member name="M:Gallio.Framework.Data.DataObjects.DynamicObject.MemberNameToCSharpSafe(System.String)">
<summary>
Translates member names to CSharp-safe names, so they can validly be accessed dynamically
</summary>
</member>
<member name="M:Gallio.Framework.Data.DataObjects.DynamicObject.ToString">
<summary>
Dumps every member
</summary>
</member>
<member name="M:Gallio.Framework.Data.DataObjects.DynamicObject.ToStringWithNewLines">
<summary>
Easy-to-read format dumps one KeyValuePair per line
</summary>
</member>
<member name="P:Gallio.Framework.Data.DataObjects.DynamicObject.Count">
<summary>
This property returns the number of elements in the inner dictionary.
</summary>
</member>
<member name="T:Gallio.Framework.Data.DataObjects.FlatFileToDataTableBuilder">
<summary>
Builder class parses comma-separated and tab-delimited files and
returns ADO.NET DataTable objects
NOTE: this is wholly dependent upon the extremely useful GenericParsing library
version Version 1.1.1.20400, which was created by Andrew Rissing.
http://www.codeproject.com/KB/database/GenericParser.aspx
</summary>
</member>
<member name="M:Gallio.Framework.Data.DataObjects.FlatFileToDataTableBuilder.BuildFromCsvFile(System.String)">
<summary>
Parses CSV file and returns DataTable object with the entire file
</summary>
</member>
<member name="M:Gallio.Framework.Data.DataObjects.FlatFileToDataTableBuilder.BuildFromTabFile(System.String)">
<summary>
Parses tab-delimited file and returns DataTable object with the entire file
</summary>
</member>
<member name="M:Gallio.Framework.Data.DataObjects.FlatFileToDataTableBuilder.CsvParserFactory(System.String)">
<summary>
Centralizes creation of parsers with all the properties for CSV files
</summary>
</member>
<member name="M:Gallio.Framework.Data.DataObjects.FlatFileToDataTableBuilder.TabDelimitedParserFactory(System.String)">
<summary>
Centralizes creation of parsers with all the properties for Tab-delimited fiels
</summary>
</member>
<member name="T:Gallio.Framework.Data.DataObjects.MultipleListEnumerable">
<summary>
Abstracts Cartesian product List building.
</summary>
</member>
<member name="M:Gallio.Framework.Data.DataObjects.MultipleListEnumerable.CartesianYield``1(System.Collections.Generic.List{System.Collections.Generic.List{``0}})">
<summary>
Returns interface to enumerator of all possible ordered combinations of the Lists of XElements
aka the Cartesian Product.
</summary>
<param name="ListOfNodeLists">List of lists of XElements</param>
<returns>Interface to enumerator of XElement arrays. The array will has as many cells as
there are lists of XElements.</returns>
</member>
<member name="M:Gallio.Framework.Data.DataObjects.MultipleListEnumerable.CatersianYieldInner``1(System.Collections.Generic.List{System.Collections.Generic.List{``0}},``0[],System.Int32)">
<summary>
Helper method will incremental traverse the List of Node Lists until the Current Index reaches the
end of the "outer" list. Recursively calls self to generate all possible combinations of a single
element from each list. Output Array contains the current combination.
</summary>
</member>
<member name="T:Gallio.Framework.Data.DataObjects.TabularDataObjectFactory">
<summary>
Factory method that cycles through DataTable and emits DynamicObject which contains rows.
</summary>
</member>
<member name="M:Gallio.Framework.Data.DataObjects.TabularDataObjectFactory.EmitDynamicObjectFromDataTable(System.Data.DataTable,System.Int32[],System.Int32[],System.String[],System.String[])">
<summary>
Enumerates through rows of DataTable and returns dynamically-generated object for each row.
</summary>
</member>
<member name="T:Gallio.Framework.Data.DataObjects.XmlDataObject">
<summary>
DynamicObject derived class for containing an XML Element and all of its child nodes
</summary>
</member>
<member name="M:Gallio.Framework.Data.DataObjects.XmlDataObject.#ctor(System.String)">
<summary>
Constructor requires passing the original Element Name for printing purposes
</summary>
</member>
<member name="M:Gallio.Framework.Data.DataObjects.XmlDataObject.IsMany(System.Object)">
<summary>
Intended usage is for determined XmlDataObjects retrieved from the
XmlDataObject object graph are repeat Elements
</summary>
</member>
<member name="M:Gallio.Framework.Data.DataObjects.XmlDataObject.IsOne(System.Object)">
<summary>
Logical inverse of the IsMany method
</summary>
</member>
<member name="M:Gallio.Framework.Data.DataObjects.XmlDataObject.AsList(System.Collections.Generic.List{Gallio.Framework.Data.DataObjects.XmlDataObject})">
<summary>
Complements the AsList(this List<XmlDataObject>) extension method - enables polymorphic
treatment of either a single element, or a sequence of elements.
</summary>
</member>
<member name="M:Gallio.Framework.Data.DataObjects.XmlDataObject.AsList(Gallio.Framework.Data.DataObjects.XmlDataObject)">
<summary>
Complements the AsList(this List<XmlDataObject>) extension method - forces single
elements into a List so we can make the assumption that we're always dealing with lists.
</summary>
</member>
<member name="M:Gallio.Framework.Data.DataObjects.XmlDataObject.ToString">
<summary>
Override prints Element Name
</summary>
</member>
<member name="M:Gallio.Framework.Data.DataObjects.XmlDataObject.ToStringWithNewLine">
<summary>
Easy-to-read format dumps one KeyValuePair per line
</summary>
</member>
<member name="M:Gallio.Framework.Data.DataObjects.XmlDataObject.ToString(System.Int32)">
<summary>
Traverses and prints object graph child nodes to maximum Depth.
Passing a negative value (Depth < 0) will print the entire object graph.
</summary>
</member>
<member name="M:Gallio.Framework.Data.DataObjects.XmlDataObject.ToString(System.String)">
<summary>
Prints the root element value (innertext) and all of its attributes
</summary>
</member>
<member name="M:Gallio.Framework.Data.DataObjects.XmlDataObject.ToString(System.Int32,System.String)">
<summary>
Worker method travesers to Depth in the object graph and prints each of the Dynamic Objects
</summary>
<param name="CurrentIndentation">Indentation of</param>
<param name="Depth">Pass the number of levels-deep we'd like to traverse. Pass -1 to print
the entire object graph.</param>
</member>
<member name="M:Gallio.Framework.Data.DataObjects.XmlDataObject.DistinctChildNodes">
<returns>Enumerable of KeyValuePairs of names and child XmlDataObject</returns>
</member>
<member name="M:Gallio.Framework.Data.DataObjects.XmlDataObject.AttributesAndValue">
<returns>Enumerable of KeyValuePairs of names and values</returns>
</member>
<member name="M:Gallio.Framework.Data.DataObjects.XmlDataObject.ListsOfRepeatChildNodes">
<returns>Enumerable of KeyValuePairs of names and all the lists of same-named Elements</returns>
</member>
<member name="P:Gallio.Framework.Data.DataObjects.XmlDataObject.ElementName">
<summary>
Original name of the XML Element
</summary>
</member>
<member name="T:Gallio.Framework.Data.DataObjects.XmlDataObjectBuilder">
<summary>
Builder class translates Xml Documents into dynamic XmlDataObject object graphs
which can then be conveniently accessed using object property accessors.
<remarks>
<para>
Take the following XML Document:
<Adaptive raw="6" ss="75" z="-1.67">
<SelfCare raw="6" ss="5" z="-1.67" ae="4">
<question id="SC" answer="a" />
<question id="SC" answer="b" />
<question id="SC" answer="c" />
</SelfCare>
<PersonalResponsibility raw="" ss="" z="" ae="">Sample Inner Text 123</PersonalResponsibility>
</Adaptive>
XmlDataObject xmlDataObject = XmlDataObjectBuilder.EmitDataObject(Element);
Console.WriteLine(xmlDataObject.Adapative.PersonalResponsibility.Value); // Prints "Sample Inner Text 123"
Console.WriteLine(xmlDataObject.Adapative.raw); // Prints "6"
Console.WriteLine(xmlDataObject.Adapative.SelfCare.ss); // Prints "5"
Console.WriteLine(xmlDataObject.Adapative.SelfCare.question[0].answer); // Prints "a"
Console.WriteLine(xmlDataObject.Adapative.SelfCare.question[2].answer); // Prints "c"
1.) Elements are accessed by their name
2.) The inner text of an Element is accessed by ".Value" after the Element name
3.) Attributes like "raw" are accessed as properties
4.) Multiple Elements are stored as a List of XmlDataObjects. This is why in the example
"question" elements are accessed by index
</para>
</remarks>
</summary>
</member>
<member name="M:Gallio.Framework.Data.DataObjects.XmlDataObjectBuilder.EmitDataObject(System.String)">
<summary>
Returns XmlDataObject containing dynamic representation of Xml document starting
with Document's root node
</summary>
</member>
<member name="M:Gallio.Framework.Data.DataObjects.XmlDataObjectBuilder.EmitDataObject(System.Xml.Linq.XDocument)">
<summary>
Returns XmlDataObject containing dynamic representation of Xml document starting
with Document's root node
</summary>
</member>
<member name="M:Gallio.Framework.Data.DataObjects.XmlDataObjectBuilder.EmitDataObject(System.Xml.Linq.XElement)">
<summary>
Translates the Element and all of its children into a tree structure
using nested instances of XmlDataObject's.
</summary>
</member>
<member name="M:Gallio.Framework.Data.DataObjects.XmlDataObjectBuilder.UniqueElementNames(System.Xml.Linq.XElement)">
<summary>
Returns a HashSet with a non-repeating list of all the child Element Names
</summary>
</member>
<member name="M:Gallio.Framework.Data.DataObjects.XmlDataObjectBuilder.RemoveAllNamespaces(System.Xml.Linq.XDocument)">
<summary>
Returns a copy of the original xmlDocument with all the namespaces stripped-off
</summary>
</member>
<member name="T:Gallio.Framework.Data.DataObjects.XmlDataObjectFactory">
<summary>
Container class for factory method which is consumed by Gallio test framework.
</summary>
</member>
<member name="M:Gallio.Framework.Data.DataObjects.XmlDataObjectFactory.SingleDocument(System.Collections.Generic.List{System.Xml.Linq.XElement})">
<summary>
Returns an IEnumerable which exposes an Enumerator for XmlDataObjects
for each specified Element in its XPath
</summary>
<param name="ElementList">Location of the Xml file</param>
</member>
<member name="M:Gallio.Framework.Data.DataObjects.XmlDataObjectFactory.MultipleDocuments(System.Collections.Generic.List{System.Collections.Generic.List{System.Xml.Linq.XElement}})">
<summary>
Returns interface to an Enumerator which traverses the Cartesian Product of one-to-many lists of XElements.
Each array of data contains a row of dynamic objects with one XElement from each of the lists of XElements.
</summary>
<param name="ListOfListsOfNodes">The List of Lists of Elements</param>
</member>
<member name="T:Gallio.Framework.Data.DataObjects.XmlDataObjectUtility">
<summary>
Helpful utility methods to aid in working around the XmlDataObject's idiosynracies.
</summary>
</member>
<member name="M:Gallio.Framework.Data.DataObjects.XmlDataObjectUtility.FindFirstElementByAttribute(System.Object,System.String,System.String)">
<summary>
Method for finding an immediate child element that has an attribute with a certain value.
</summary>
<param name="ChildElements">Either an XmlDataObject or a List of XmlDataObjects</param>
<param name="AttributeName">Name of Xml attribute we're querying</param>
<param name="AttributeValue">Expect value of the Xml attribute</param>
<returns>XmlDataObject Element</returns>
</member>
<member name="M:Gallio.Framework.Data.DataObjects.XmlDataObjectUtility.ElementValuesToStringList(System.Object)">
<summary>
Takes sequence (or solitary member) of Elements and dumps the values into string List
</summary>
</member>
</members>
</doc>