Line | |
---|
1 |
|
---|
2 | using System;
|
---|
3 | using System.Xml;
|
---|
4 | using System.Xml.Serialization;
|
---|
5 | using System.IO;
|
---|
6 |
|
---|
7 |
|
---|
8 | namespace Netron.GraphLib.IO.NML {
|
---|
9 |
|
---|
10 | /// <summary>
|
---|
11 | /// XML wrapper for a default
|
---|
12 | /// </summary>
|
---|
13 | [XmlType(IncludeInSchema=true, TypeName="default.type")]
|
---|
14 | [XmlRoot(ElementName="default", IsNullable=false, DataType="")]
|
---|
15 | public class DefaultType {
|
---|
16 |
|
---|
17 | /// <summary>
|
---|
18 | /// the text
|
---|
19 | /// </summary>
|
---|
20 | private DataCollection mText = new DataCollection();
|
---|
21 | /// <summary>
|
---|
22 | /// Gets or sets the text
|
---|
23 | /// </summary>
|
---|
24 | [XmlText(Type=typeof(string))]
|
---|
25 | public virtual DataCollection Text {
|
---|
26 | get {
|
---|
27 | return this.mText;
|
---|
28 | }
|
---|
29 | set {
|
---|
30 | this.mText = value;
|
---|
31 | }
|
---|
32 | }
|
---|
33 |
|
---|
34 |
|
---|
35 | }
|
---|
36 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.