PageRenderTime 198ms CodeModel.GetById 51ms app.highlight 87ms RepoModel.GetById 53ms app.codeStats 1ms

/Dlls/Delta.Utilities.Xml.xml

#
XML | 790 lines | 785 code | 5 blank | 0 comment | 0 complexity | 44fa7f9a45d2032e47218d5c31e94384 MD5 | raw file
  1<?xml version="1.0"?>
  2<doc>
  3    <assembly>
  4        <name>Delta.Utilities.Xml</name>
  5    </assembly>
  6    <members>
  7        <member name="T:Delta.Utilities.Xml.XmlNode">
  8            <summary>
  9            Our own XmlNode format which provides only required information and
 10            offers a couple of useful functions. The main idea is avoiding that the
 11            user handle complicated xml functions, instead giving a very simple
 12            class which wraps the properties and function we think are important
 13            and is presented in a very easy way to use.
 14            </summary>
 15        </member>
 16        <member name="M:Delta.Utilities.Xml.XmlNode.GetNamespaceName(System.String,System.String)">
 17            <summary>
 18            Helper method to construct NamespaceName from given
 19            namespaceName and nodeName.
 20            </summary>
 21            <param name="namespaceName">Namespace name</param>
 22            <param name="nodeName">Node name</param>
 23            <returns>Namespace name</returns>
 24        </member>
 25        <member name="M:Delta.Utilities.Xml.XmlNode.GetNamespaceName(System.Xml.Linq.XNamespace,System.String)">
 26            <summary>
 27            Helper method to construct NamespaceName from given
 28            namespace and nodeName.
 29            </summary>
 30            <param name="xNamespace">Namespace</param>
 31            <param name="nodeName">Node name</param>
 32            <returns>Namespace name</returns>
 33        </member>
 34        <member name="M:Delta.Utilities.Xml.XmlNode.FromFile(System.String)">
 35            <summary>
 36            Loads the XML file under the given path and returns the root node or
 37            'null' if the loading fails. AutoSetNamespaceOnChildren is set to
 38            false.
 39            </summary>
 40            <param name="xmlFilePath">Xml file path</param>
 41            <returns>the root node or 'null' if the loading fails</returns>
 42        </member>
 43        <member name="M:Delta.Utilities.Xml.XmlNode.FromFile(System.String,System.Boolean,System.String@)">
 44            <summary>
 45            Loads the XML file under the given path and returns the root node or
 46            'null' if the loading fails.
 47            </summary>
 48            <param name="xmlFilePath">Xml file path</param>
 49            <param name="autoSetNamespaceOnChildren">Flag if the namespace should
 50            be set to the children automatically.</param>
 51            <returns>the root node or 'null' if the loading fails</returns>
 52        </member>
 53        <member name="M:Delta.Utilities.Xml.XmlNode.FromSnippet(System.String)">
 54            <summary>
 55            Loads and Xml node from an Xml snippet.
 56            </summary>
 57            <param name="xmlAsText">Xml as text</param>
 58            <returns>Xml node</returns>
 59        </member>
 60        <member name="M:Delta.Utilities.Xml.XmlNode.FromSnippet(System.String,System.String@)">
 61            <summary>
 62            Loads and Xml node from an Xml snippet.
 63            </summary>
 64            <param name="xmlAsText">Xml as text</param>
 65            <param name="error">Error string if anything has gone wrong</param>
 66            <returns>Filled XmlNode from xmlAsText</returns>
 67        </member>
 68        <member name="M:Delta.Utilities.Xml.XmlNode.FromMemoryStream(System.IO.MemoryStream)">
 69            <summary>
 70            Helper method to load xml data from a memory stream, which must contain
 71            the same data as a saved xml file (see the Save() method). To load
 72            snippet strings use the FromSnippet method instead.
 73            </summary>
 74            <param name="xmlData">Xml data in a memory stream</param>
 75            <returns>Loaded XmlNode</returns>
 76        </member>
 77        <member name="F:Delta.Utilities.Xml.XmlNode.xNodeRoot">
 78            <summary>
 79            Main element that contain all the info related with the xml node.
 80            Be aware that from this variable we get all the information from
 81            the xml file we are working with.
 82            </summary>
 83        </member>
 84        <member name="M:Delta.Utilities.Xml.XmlNode.#ctor(System.Xml.Linq.XElement)">
 85            <summary>
 86            We only allow to create a XmlNode internally and we rely on
 87            XmlHelper to create it when necessary. As expected, to start off
 88            we assign a root node that contains everything we need.
 89            </summary>
 90            <param name="setNodeRoot">represents the root node</param>
 91        </member>
 92        <member name="M:Delta.Utilities.Xml.XmlNode.#ctor(System.Xml.Linq.XElement,System.Boolean)">
 93            <summary>
 94            We only allow to create a XmlNode internally and we rely on
 95            XmlHelper to create it when necessary. As expected, to start off
 96            we assign a root node that contains everything we need.
 97            </summary>
 98            <param name="setNodeRoot">represents the root node</param>
 99            <param name="autoSetNamespaceOnChildren">Flag if the namespace should
100            be set to the children automatically.</param>
101        </member>
102        <member name="M:Delta.Utilities.Xml.XmlNode.#ctor(System.Xml.Linq.XElement,Delta.Utilities.Xml.XmlNode)">
103            <summary>
104            We only allow to create a XmlNode internally and we rely on
105            XmlHelper to create it when necessary. As expected, to start off
106            we assign a root node that contains everything we need.
107            </summary>
108            <param name="setNodeRoot">represents the root node</param>
109            <param name="setParent">the parent node</param>
110        </member>
111        <member name="M:Delta.Utilities.Xml.XmlNode.#ctor(System.Xml.Linq.XElement,Delta.Utilities.Xml.XmlNode,System.Boolean)">
112            <summary>
113            We only allow to create a XmlNode internally and we rely on
114            XmlHelper to create it when necessary. As expected, to start off
115            we assign a root node that contains everything we need.
116            </summary>
117            <param name="setNodeRoot">represents the root node</param>
118            <param name="setParent">the parent node</param>
119            <param name="autoSetNamespaceOnChildren">Flag if the namespace should
120            be set to the children automatically.</param>
121        </member>
122        <member name="M:Delta.Utilities.Xml.XmlNode.#ctor(System.String,System.String,System.Boolean)">
123            <summary>
124            Creates an XML root node with the given name, but no children yet.
125            When createWithXmlHeader is true an Xml declaration is added at top!
126            </summary>
127            <param name="createWithXmlHeader">Create with xml header</param>
128            <param name="setNamespace">Set namespace</param>
129            <param name="setRootName">Set root node name</param>
130        </member>
131        <member name="M:Delta.Utilities.Xml.XmlNode.#ctor(System.Xml.Linq.XNamespace,System.String,System.Boolean)">
132            <summary>
133            Creates an XML root node with the given name, but no children yet.
134            When createWithXmlHeader is true an Xml declaration is added at top!
135            </summary>
136            <param name="createWithXmlHeader">create with xml header</param>
137            <param name="setNamespace">set namespace</param>
138            <param name="setRootName">set root name</param>
139        </member>
140        <member name="M:Delta.Utilities.Xml.XmlNode.#ctor(System.String,System.Boolean)">
141            <summary>
142            Creates an XML root node with the given name, but no children yet.
143            When createWithXmlHeader is true an Xml declaration is added at top!
144            </summary>
145            <param name="createWithXmlHeader">create with xml heater</param>
146            <param name="setRootName">set root name</param>
147        </member>
148        <member name="M:Delta.Utilities.Xml.XmlNode.#ctor(System.String)">
149            <summary>
150            Create xml node root node with the given name (no xml header)
151            </summary>
152            <param name="setRootName">set root name</param>
153        </member>
154        <member name="M:Delta.Utilities.Xml.XmlNode.AddChild(System.String)">
155            <summary>
156            Adds a new child with given name and returns it to be filled.
157            If ChildWillInheritNamespace is true, it will inherit the namespace of
158            this node (Namespace part in given name will be ignored).
159            </summary>
160            <param name="name">Name for the new child</param>
161            <returns>The newly added child as an XmlNode</returns>
162        </member>
163        <member name="M:Delta.Utilities.Xml.XmlNode.AddChild(System.String,System.String)">
164            <summary>
165            Adds a new child with given name and returns it to be filled.
166            If ChildWillInheritNamespace is true, it will inherit the namespace of
167            this node (Namespace part in given name will be ignored).
168            </summary>
169            <param name="name">Name</param>
170            <param name="value">Value</param>
171            <returns>The newly added child as an XmlNode</returns>
172        </member>
173        <member name="M:Delta.Utilities.Xml.XmlNode.AddChild(Delta.Utilities.Xml.XmlNode)">
174            <summary>
175            Add child from XmlNode. Note: This will create a copy of the XmlNode
176            to make sure we do not modify the original XmlNode that could come
177            from another tree or document.
178            </summary>
179            <param name="childNode">Child node we want to add</param>
180        </member>
181        <member name="M:Delta.Utilities.Xml.XmlNode.AddAttribute(System.String,System.String)">
182            <summary>
183            Add attribute
184            </summary>
185            <param name="name">name</param>
186            <param name="value">value</param>
187        </member>
188        <member name="M:Delta.Utilities.Xml.XmlNode.AddAttribute(System.String,System.String,System.String)">
189            <summary>
190            Add attribute
191            </summary>
192        </member>
193        <member name="M:Delta.Utilities.Xml.XmlNode.GetValueAs``1(``0)">
194            <summary>
195            Get value as any supported datatype that is passed to this generic
196            method. Uses StringHelper.FromInvariantString to convert.
197            </summary>
198            <param name="defaultValue">Default value</param>
199            <returns>Value string converted to type T</returns>
200        </member>
201        <member name="M:Delta.Utilities.Xml.XmlNode.GetAttribute(System.String,System.Boolean)">
202            <summary>
203            Look for the value of an attribute (specified as parameter) in the
204            root node. It returns the first attribute which matches with the
205            given parameters. If desired we can do an depth search in the child
206            nodes. It is optional due to performance costs (it has to be carefully 
207            used). By default the search is NOT done recursively.
208            </summary>
209            <param name="name">Attribute name to search</param>
210            <param name="searchRecursively">
211            Allow search recursively in the child nodes (defaults to false).
212            </param>
213            <returns>
214            If found the attribute value, otherwise an empty string.
215            </returns>
216        </member>
217        <member name="M:Delta.Utilities.Xml.XmlNode.GetAllAttributes">
218            <summary>
219            Get all attributes, use this method if you want better performance
220            than calling GetAttribute or GetAttributeAs, which both do a lot of
221            checking, support recursion (which is slow) and will do all the
222            conversion for you (again slow). This is the fastest way to get to
223            attribute values, but you will have to convert types yourself.
224            </summary>
225            <returns>
226            Dictionary with all attributes and values as strings.
227            </returns>
228        </member>
229        <member name="M:Delta.Utilities.Xml.XmlNode.GetAttributeAs``1(System.String,``0,System.String)">
230            <summary>
231            Get attribute as any supported datatype that is passed to this generic
232            method. Note: This currently throws warnings if an attribute is missing
233            or has no value (empty string), use GetAttribute instead of you don't
234            want all this extra checking and warnings (this method is slow).
235            Uses StringHelper.FromInvariantString to convert.
236            </summary>
237            <param name="name">Attribute name to search for</param>
238            <param name="defaultValue">
239            Default value if the attribute was not found.
240            </param>
241            <param name="extraWarningTextIfAnythingGoesWrong">
242            Extra warning in case anything goes wrong to really help the user to
243            identify the problem with a related message (e.g. font content name)
244            </param>
245            <returns>
246            Filled T value or defaultValue if attribute was not found or type
247            conversion is not supported (a log warning will also be outputted).
248            </returns>
249        </member>
250        <member name="M:Delta.Utilities.Xml.XmlNode.GetChild(System.String)">
251            <summary>
252            Look for a node with the name specified as parameter. It returns the
253            first node which matchs with the given parameter.
254            Note: The search is recursively.
255            </summary>
256            <param name="childName">Node name to search</param>
257            <returns>Node</returns>
258        </member>
259        <member name="M:Delta.Utilities.Xml.XmlNode.GetChild(System.String,System.Boolean)">
260            <summary>
261            Look for a node with the name specified as parameter. It returns the
262            first node which matchs with the given parameter.
263            </summary>
264            <param name="childName">Node name to search</param>
265            <param name="searchRecursively">
266            Allow search recursively in the child nodes?
267            </param>
268        </member>
269        <member name="M:Delta.Utilities.Xml.XmlNode.GetChild(System.String,System.String)">
270            <summary>
271            Look for a node with the name specified as parameter and which
272            contains a particular attribute. This function is thought for when
273            we have several nodes with the same name to allow the user to
274            get one with a concrete attribute. It returns the first node which
275            matchs with the attribute name and value. 
276            Note: The search is recursively.
277            </summary>
278            <param name="attributeName">Attribute to search</param>
279            <param name="attributeValue">Attribute value to search</param>
280            <returns>Found child node or null if nothing was found</returns>
281        </member>
282        <member name="M:Delta.Utilities.Xml.XmlNode.GetChild(System.String,System.String,System.String)">
283            <summary>
284            Look for a node with the name specified as parameter and which
285            contains a particular attribute. This function is thought for when
286            we have several nodes with the same name to allow the user to
287            get one with a concrete attribute. It returns the first node which
288            matchs with the attribute name and value. 
289            Note: The search is recursively.
290            </summary>
291            <param name="childName">
292            Node name to search, can be null for all kind of Xml child nodes.
293            </param>
294            <param name="attributeName">Attribute to search</param>
295            <param name="attributeValue">Attribute value to search</param>
296            <returns>Found child node or null if nothing was found</returns>
297        </member>
298        <member name="M:Delta.Utilities.Xml.XmlNode.GetChild(System.String,System.String,System.String,System.String,System.String)">
299            <summary>
300            Look for a node with the name specified as parameter and which
301            contains two particular attributes. This function is thought for when
302            we have several nodes with the same name to allow the user to
303            get one with a concrete attribute. It returns the first node which
304            matches the attribute names and values. 
305            Note: The search is recursively.
306            </summary>
307            <param name="childName">
308            Node name to search, can be null for all kind of Xml child nodes.
309            </param>
310            <param name="attribute1Name">First attribute to search</param>
311            <param name="attribute1Value">First attribute value to search</param>
312            <param name="attribute2Name">Second attribute to search</param>
313            <param name="attribute2Value">Second attribute value to search</param>
314            <returns>Found child node or null if nothing was found</returns>
315        </member>
316        <member name="M:Delta.Utilities.Xml.XmlNode.GetChildCount(System.String)">
317            <summary>
318            Gets the number of child that match with the given name.
319            </summary>
320            <param name="childName">Child name</param>
321            <returns>number</returns>
322        </member>
323        <member name="M:Delta.Utilities.Xml.XmlNode.GetLastChild(System.String)">
324            <summary>
325            Gets last child that matches with the given name.
326            Note: The search is recursively.
327            </summary>
328            <param name="childName">Child name</param>
329        </member>
330        <member name="M:Delta.Utilities.Xml.XmlNode.GetLastChild(System.String,System.String)">
331            <summary>
332            Gets last child that matches with the given attribute name and value.
333            Note: The search is recursively.
334            </summary>
335            <param name="attributeName">Attribute name</param>
336            <param name="attributeValue">Attribute value</param>
337            <returns>XmlNode of the last child or null if not found.</returns>
338        </member>
339        <member name="M:Delta.Utilities.Xml.XmlNode.GetLastChild(System.String,System.String,System.String)">
340            <summary>
341            Gets last child that matches with the given name.
342            Note: The search is recursively.
343            </summary>
344            <param name="childName">Node name to search</param>
345            <param name="attributeName">Attribute to search</param>
346            <param name="attributeValue">Attribute value to search</param>
347            <returns>XmlNode of the last child or null if not found.</returns>
348        </member>
349        <member name="M:Delta.Utilities.Xml.XmlNode.GetAllChildren(System.String)">
350            <summary>
351            Look for all nodes with the name specified as parameter and returns
352            them in an array (non recursive implementation yet).
353            <para />
354            <b>Note:</b> Will always return a valid array, in worst case just an
355            empty one.
356            </summary>
357            <param name="childName"></param>
358            <returns>
359            Array of XmlNodes from all the children of this node.
360            </returns>
361        </member>
362        <member name="M:Delta.Utilities.Xml.XmlNode.RemoveChild(Delta.Utilities.Xml.XmlNode)">
363            <summary>
364            Remove child node from this xml node. Basically just does a Children
365            remove, but since Children is an array it is not that easy. Note:
366            This will not check recursively, only a direct children is removed.
367            </summary>
368            <param name="childNode">Child XmlNode we want to remove</param>
369            <returns>True if a child node was removed, false otherwise</returns>
370        </member>
371        <member name="M:Delta.Utilities.Xml.XmlNode.RemoveChildRecursively(Delta.Utilities.Xml.XmlNode)">
372            <summary>
373            Remove xml child node recursively and return if we found and removed
374            the given child node.
375            </summary>
376            <param name="childNodeToRemove">Child XmlNode we want to remove</param>
377            <returns>True if a child node was removed, false otherwise</returns>
378        </member>
379        <member name="M:Delta.Utilities.Xml.XmlNode.RemoveAllChildren(System.String)">
380            <summary>
381            Removes all children with given childName. (Not recursively)
382            </summary>
383            <param name="childName">child name</param>
384            <returns>Number of removed children</returns>
385        </member>
386        <member name="M:Delta.Utilities.Xml.XmlNode.Remove">
387            <summary>
388            Remove this child node from its parent. Useful to unlink stuff.
389            </summary>
390        </member>
391        <member name="M:Delta.Utilities.Xml.XmlNode.GetWholeDocumentXmlText">
392            <summary>
393            Get the whole xml document as formatted xml text.
394            </summary>
395        </member>
396        <member name="M:Delta.Utilities.Xml.XmlNode.GetThisNodeXmlText">
397            <summary>
398            Returns the xml text from this node and its children. Use
399            GetWholeDocumentXmlText to get the xml of the whole file or use
400            the Name property and GetAttributes for just this node without the
401            children (this will still return all the children and if we are at
402            the document level, this returns the same as GetWholeDocumentXmlText.
403            </summary>
404        </member>
405        <member name="M:Delta.Utilities.Xml.XmlNode.Save(System.String)">
406            <summary>
407            Save whole xml file (does not matter from which xml node we call this).
408            In case saving is not possible this method will output a warning in
409            the log and return false, but does not throw an exception.
410            </summary>
411            <param name="filePath">Where to save the ContentMetaData.xml</param>
412            <returns>
413            True if saving the file was successful, false (and a log warning)
414            otherwise.
415            </returns>
416        </member>
417        <member name="M:Delta.Utilities.Xml.XmlNode.Save">
418            <summary>
419            Save whole xml file (does not matter from which xml node we call this)
420            into a memory stream, which contains the same data as if we would have
421            saved this to a file with the other Save overload. Can be loaded again
422            with FromMemoryStream.
423            </summary>
424            <returns>
425            The newly created memory stream containing the saved xml file.
426            </returns>
427        </member>
428        <member name="M:Delta.Utilities.Xml.XmlNode.ToString">
429            <summary>
430            To string, will return a limited string with max. 200 characters to
431            get an overview what this XmlNode is about. Use GetXmlText to grab
432            the full xml text.
433            </summary>
434        </member>
435        <member name="M:Delta.Utilities.Xml.XmlNode.ConstructName(System.String)">
436            <summary>
437            if WillChildInheritNamespace is true, it applies the parent
438            namespace to given name, ignoring any given namespace.
439            </summary>
440            <param name="name">name</param>
441            <returns>Namespace name if this child inherits it, otherwise name
442            </returns>
443        </member>
444        <member name="M:Delta.Utilities.Xml.XmlNode.FindFirstDescendantAttribute(System.Collections.Generic.IEnumerable{System.Xml.Linq.XElement},System.String)">
445            <summary>
446            Find the first descendant attribute in a list of Elements. It 
447            searchs in depth through the descendant nodes, searching for a 
448            coincidence with the name. The first match stops inmediatly the 
449            depth-search and returns the attribute.
450            </summary>
451            <param name="Elements">Elements to proceed with the search</param>
452            <param name="name">Name of the searched attribute</param>
453            <returns>null</returns>
454        </member>
455        <member name="P:Delta.Utilities.Xml.XmlNode.Name">
456            <summary>
457            Name of the xml root node.
458            </summary>
459        </member>
460        <member name="P:Delta.Utilities.Xml.XmlNode.Value">
461            <summary>
462            Value of the xml root node
463            </summary>
464        </member>
465        <member name="P:Delta.Utilities.Xml.XmlNode.Parent">
466            <summary>
467            Returns the parent node of this node or 'null' if there is no parent
468            (anymore).
469            </summary>
470        </member>
471        <member name="P:Delta.Utilities.Xml.XmlNode.Children">
472            <summary>
473            Returns children nodes from current parent.
474            </summary>
475        </member>
476        <member name="P:Delta.Utilities.Xml.XmlNode.FilePath">
477            <summary>
478            The (absolute) file path from where the xml was loaded (is 'None' if
479            the XML was created dynamically).
480            </summary>
481        </member>
482        <member name="P:Delta.Utilities.Xml.XmlNode.WillChildInheritNamespace">
483            <summary>
484            If disabled (by default all XmlNodes have this disabled):
485            You have to manually set the namespace on every child node you add,
486            else it will be empty namespace.
487            
488            If enabled:
489            Added children will automatically use the same namespace as parent node
490            
491            You may set the namespace this way:
492            
493            XmlNode projectNode =
494            	new XmlNode(
495            	  XmlNode.GetNamespaceName(
496            	    CsprojXml.Namespace + CsprojXml.ProjectKeyword),
497            	  true);
498            
499            or
500            
501            node.AddChild(XmlNode.GetNamespaceName("some namespace", "Tag Name"))
502            </summary>
503        </member>
504        <member name="T:Delta.Utilities.Xml.XmlNode.XmlNodeTests">
505            <summary>
506            Tests
507            </summary>
508        </member>
509        <member name="F:Delta.Utilities.Xml.XmlNode.XmlNodeTests.testRootNode">
510            <summary>
511            Test root node
512            </summary>
513        </member>
514        <member name="M:Delta.Utilities.Xml.XmlNode.XmlNodeTests.CreateXmlNode">
515            <summary>
516            Create xml node. Note: Too slow for a dynamic unit test.
517            </summary>
518        </member>
519        <member name="M:Delta.Utilities.Xml.XmlNode.XmlNodeTests.FromFile">
520            <summary>
521            Load file. Note: Too slow for a dynamic unit test.
522            </summary>
523        </member>
524        <member name="M:Delta.Utilities.Xml.XmlNode.XmlNodeTests.RemoveAllChildren">
525            <summary>
526            Remove all children
527            </summary>
528        </member>
529        <member name="M:Delta.Utilities.Xml.XmlNode.XmlNodeTests.RemoveChild">
530            <summary>
531            Test the RemoveChild functionality
532            </summary>
533        </member>
534        <member name="M:Delta.Utilities.Xml.XmlNode.XmlNodeTests.GetXmlAttribute">
535            <summary>
536            Get xml attribute.
537            </summary>
538        </member>
539        <member name="M:Delta.Utilities.Xml.XmlNode.XmlNodeTests.ReplaceAttribute">
540            <summary>
541            Replace attribute.
542            </summary>
543        </member>
544        <member name="M:Delta.Utilities.Xml.XmlNode.XmlNodeTests.GetChildNode">
545            <summary>
546            Get child node. Note: Too slow for a dynamic unit test.
547            </summary>
548        </member>
549        <member name="M:Delta.Utilities.Xml.XmlNode.XmlNodeTests.Parent">
550            <summary>
551            Parent. Note: Too slow for a dynamic unit test.
552            </summary>
553        </member>
554        <member name="M:Delta.Utilities.Xml.XmlNode.XmlNodeTests.Childs">
555            <summary>
556            Get children. Note: Too slow for a dynamic unit test.
557            </summary>
558        </member>
559        <member name="M:Delta.Utilities.Xml.XmlNode.XmlNodeTests.GetValueAs">
560            <summary>
561            Get xml Value. Note: Too slow for a dynamic unit test.
562            </summary>
563        </member>
564        <member name="M:Delta.Utilities.Xml.XmlNode.XmlNodeTests.GetAttributeAs">
565            <summary>
566            Get attribute. Note: Too slow for a dynamic unit test.
567            </summary>
568        </member>
569        <member name="M:Delta.Utilities.Xml.XmlNode.XmlNodeTests.WillChildInheritNamespace">
570            <summary>
571            Get namespace name
572            </summary>
573        </member>
574        <member name="P:Delta.Utilities.Xml.XmlNode.XmlNodeTests.TestXml">
575            <summary>
576            Test xml
577            </summary>
578        </member>
579        <member name="T:Delta.Utilities.Xml.XmlHelper">
580            <summary>
581            Xml helper class to provide some helper functionality for extracting or
582            generating xml data from XmlNodes.
583            </summary>
584        </member>
585        <member name="M:Delta.Utilities.Xml.XmlHelper.Serialize(System.String,System.Object)">
586            <summary>
587            Serializes an object
588            This saves an object as an xml structure to a file.
589            Every variable is saved as a node with
590            </summary>
591            <param name="filePath">filepath</param>
592            <param name="obj">obj</param>
593        </member>
594        <member name="M:Delta.Utilities.Xml.XmlHelper.Deserialize(System.String,System.Type)">
595            <summary>
596            Deserialize a file to an object
597            This reads an xml structured file if it's of the same type
598            as we provide in the parameters
599            It returns an object by the type we declared and we can
600            simply cast the object after calling this function
601            </summary>
602            <param name="fileName">filename</param>
603            <param name="type">type</param>
604            <returns>Deserialized object</returns>
605        </member>
606        <member name="M:Delta.Utilities.Xml.XmlHelper.AddDeclaration(System.String,System.String)">
607            <summary>
608            Add an xml declaration
609            </summary>
610            <param name="version">The current version of the xml file.</param>
611            <param name="encoding">The current encoding of the xml file.</param>
612            <returns>xml declaration</returns>
613        </member>
614        <member name="M:Delta.Utilities.Xml.XmlHelper.AddTag(System.String)">
615            <summary>
616            Create a tag item from the specified string.
617            </summary>
618            <param name="tagName">The name of the tag to create.</param>
619            <returns>string</returns>
620        </member>
621        <member name="M:Delta.Utilities.Xml.XmlHelper.AddTag(System.String,System.Int32)">
622            <summary>
623            Add a tag with a given depth
624            </summary>
625            <param name="tagName">Tag name</param>
626            <param name="depth">Depth of the node</param>
627            <returns>Tag with given depth</returns>
628        </member>
629        <member name="M:Delta.Utilities.Xml.XmlHelper.AddTagEnd(System.String)">
630            <summary>
631            Add a tag end
632            </summary>
633            <param name="tagName">Tag name</param>
634            <returns>tag</returns>
635        </member>
636        <member name="M:Delta.Utilities.Xml.XmlHelper.AddTagEnd(System.String,System.Int32)">
637            <summary>
638            Add a tag end with a given depth
639            </summary>
640            <param name="tagName">Tag name</param>
641            <param name="depth">Depth of the node</param>
642            <returns>tag</returns>
643        </member>
644        <member name="M:Delta.Utilities.Xml.XmlHelper.AddElement(System.String,System.String)">
645            <summary>
646            Add an element
647            </summary>
648            <param name="tagName">Tag name</param>
649            <param name="element">Element</param>
650            <returns>string</returns>
651        </member>
652        <member name="M:Delta.Utilities.Xml.XmlHelper.AddElement(System.String,System.String,System.Int32)">
653            <summary>
654            Add an element
655            </summary>
656            <param name="tagName">Tag name</param>
657            <param name="element">Element</param>
658            <param name="depth">Depth of the node</param>
659            <returns>string</returns>
660        </member>
661        <member name="M:Delta.Utilities.Xml.XmlHelper.AddAttribute(System.String,System.String[],System.String[])">
662            <summary>
663            Add an attribute. The number of attribute names and values must be 
664            equal. Each value will be assigned to a name with the corresponding 
665            position in the arrays. (1="1" , 2="2", ...)
666            </summary>
667            <param name="tagName">Tag name</param>
668            <param name="attributeNames">Attribute names</param>
669            <param name="attributeValues">Attribute values</param>
670            <returns>xmlNode</returns>
671        </member>
672        <member name="M:Delta.Utilities.Xml.XmlHelper.AddAttribute(System.String,System.String[],System.String[],System.Int32)">
673            <summary>
674            Add an attribute with a given depth. The number of attribute names and 
675            values must be equal. 
676            Each value will be assigned to a name with the corresponding 
677            position in the arrays. (1="1" , 2="2", ...)
678            </summary>
679            <param name="tagName">Tag name</param>
680            <param name="attributeNames">Attribute names</param>
681            <param name="attributeValues">Attribute values</param>
682            <param name="depth">Depth of the node</param>
683            <returns>string</returns>
684        </member>
685        <member name="M:Delta.Utilities.Xml.XmlHelper.AddAttributeEnd(System.String,System.String[],System.String[])">
686            <summary>
687            Add an attribute with an end. The number of attribute names and values 
688            must be equal. 
689            Each value will be assigned to a name with the corresponding 
690            position in the arrays. (1="1" , 2="2", ...)
691            </summary>
692            <param name="tagName">Tag name</param>
693            <param name="attributeNames">Attribute names</param>
694            <param name="attributeValues">Attribute values</param>
695            <returns>String with the new xmlNode data</returns>
696        </member>
697        <member name="M:Delta.Utilities.Xml.XmlHelper.AddAttributeEnd(System.String,System.String[],System.String[],System.Int32)">
698            <summary>
699            Add an attribute with a given depth and an end. The number of
700            attribute names and values must be equal. 
701            Each value will be assigned to a name with the corresponding 
702            position in the arrays. (1="1" , 2="2", ...)
703            </summary>
704            <param name="tagName">Tag name</param>
705            <param name="attributeNames">Attribute names</param>
706            <param name="attributeValues">Attribute values</param>
707            <param name="depth">Depth of the node</param>
708            <returns>string</returns>
709        </member>
710        <member name="M:Delta.Utilities.Xml.XmlHelper.AddAttributeElement(System.String,System.String[],System.String[],System.String)">
711            <summary>
712            Add an attribute with a given element between the start and end tag. 
713            The number of attribute names and values must be equal. 
714            Each value will be assigned to a name with the corresponding 
715            position in the arrays. (1="1" , 2="2", ...)
716            </summary>
717            <param name="tagName">Tag name</param>
718            <param name="attributeNames">Attribute names</param>
719            <param name="attributeValues">Attribute values</param>
720            <param name="element">Element</param>
721            <returns>string</returns>
722        </member>
723        <member name="M:Delta.Utilities.Xml.XmlHelper.AddAttributeElement(System.String,System.String[],System.String[],System.String,System.Int32)">
724            <summary>
725            Add an attribute with a given element between the start and end tag and
726            a given depth. 
727            The number of attribute names and values must be equal. 
728            Each value will be assigned to a name with the corresponding 
729            position in the arrays. (1="1" , 2="2", ...)
730            </summary>
731            <param name="tagName">Tag name</param>
732            <param name="attributeNames">Attribute names</param>
733            <param name="attributeValues">Attribute values</param>
734            <param name="element">Element</param>
735            <param name="depth">Depth of the node</param>
736            <returns>string</returns>
737        </member>
738        <member name="M:Delta.Utilities.Xml.XmlHelper.ConvertToXmlSpecialCharacters(System.String)">
739            <summary>
740            Convert to xml special characters, will replace all special characters
741            that need replacement (&lt; becomes &lt;, " becomes &quot;, etc.).
742            See http://xml.silmaril.ie/authors/specials/ for more information.
743            Note: The input text should not already contain special xml characters.
744            </summary>
745            <param name="inputText">input text</param>
746            <returns>string</returns>
747        </member>
748        <member name="T:Delta.Utilities.Xml.XmlHelper.XmlHelperTests">
749            <summary>
750            Tests
751            </summary>
752        </member>
753        <member name="M:Delta.Utilities.Xml.XmlHelper.XmlHelperTests.LoadFile">
754            <summary>
755            Load file. Note: Too slow for a dynamic unit test.
756            </summary>
757        </member>
758        <member name="M:Delta.Utilities.Xml.XmlHelper.XmlHelperTests.LoadingMultipleXmlFiles">
759            <summary>
760            Loading multiple xml files. Note: Too slow for dynamic unit tests
761            </summary>
762        </member>
763        <member name="M:Delta.Utilities.Xml.XmlHelper.XmlHelperTests.TestSerialization">
764            <summary>
765            Test serialization. Note: This test is too slow for a dynamic unit
766            test. It also is strange that this c:\testfile.xml is created ..
767            </summary>
768        </member>
769        <member name="M:Delta.Utilities.Xml.XmlHelper.XmlHelperTests.XmlGeneration">
770            <summary>
771            XmlGeneration
772            </summary>
773        </member>
774        <member name="M:Delta.Utilities.Xml.XmlHelper.XmlHelperTests.ImportFromXml">
775            <summary>
776            Import from xml
777            </summary>
778        </member>
779        <member name="M:Delta.Utilities.Xml.XmlHelper.XmlHelperTests.LoadSnippet">
780            <summary>
781            Load snippet
782            </summary>
783        </member>
784        <member name="M:Delta.Utilities.Xml.XmlHelper.XmlHelperTests.ConvertToXmlSpecialCharacters">
785            <summary>
786            Convert to xml special characters
787            </summary>
788        </member>
789    </members>
790</doc>