annotate Implab.Test/Model/Person.cs @ 270:ade80d94dfb5 v3

Working on Unity container xml configuration
author cin
date Wed, 25 Apr 2018 04:44:40 +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 }