annotate Implab.Test/Model/Person.cs @ 273:79110a16cab7 v3

Working on Unity xml configuration: Refactoring in progress
author cin
date Thu, 26 Apr 2018 19:35:01 +0300
parents 3a6e18c432be
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
264
3a6e18c432be Added XmlToJson xsl transformation.
cin
parents:
diff changeset
1 using System.Xml.Serialization;
3a6e18c432be Added XmlToJson xsl transformation.
cin
parents:
diff changeset
2
3a6e18c432be Added XmlToJson xsl transformation.
cin
parents:
diff changeset
3 namespace Implab.Test.Model {
3a6e18c432be Added XmlToJson xsl transformation.
cin
parents:
diff changeset
4
3a6e18c432be Added XmlToJson xsl transformation.
cin
parents:
diff changeset
5 [XmlRoot(Namespace="urn:implab:test:model")]
3a6e18c432be Added XmlToJson xsl transformation.
cin
parents:
diff changeset
6 public class Person {
3a6e18c432be Added XmlToJson xsl transformation.
cin
parents:
diff changeset
7 public string FirstName { get; set; }
3a6e18c432be Added XmlToJson xsl transformation.
cin
parents:
diff changeset
8
3a6e18c432be Added XmlToJson xsl transformation.
cin
parents:
diff changeset
9 public string LastName { get; set; }
3a6e18c432be Added XmlToJson xsl transformation.
cin
parents:
diff changeset
10
3a6e18c432be Added XmlToJson xsl transformation.
cin
parents:
diff changeset
11 public int Age { get; set; }
3a6e18c432be Added XmlToJson xsl transformation.
cin
parents:
diff changeset
12
3a6e18c432be Added XmlToJson xsl transformation.
cin
parents:
diff changeset
13 [XmlIgnore]
3a6e18c432be Added XmlToJson xsl transformation.
cin
parents:
diff changeset
14 public bool AgeSpecified { get; set; }
3a6e18c432be Added XmlToJson xsl transformation.
cin
parents:
diff changeset
15
3a6e18c432be Added XmlToJson xsl transformation.
cin
parents:
diff changeset
16
3a6e18c432be Added XmlToJson xsl transformation.
cin
parents:
diff changeset
17 [XmlElement("Tag")]
3a6e18c432be Added XmlToJson xsl transformation.
cin
parents:
diff changeset
18 public string[] Tags { get; set; }
3a6e18c432be Added XmlToJson xsl transformation.
cin
parents:
diff changeset
19 }
3a6e18c432be Added XmlToJson xsl transformation.
cin
parents:
diff changeset
20 }