Mercurial > pub > ImplabNet
annotate Implab.Test/Model/Person.cs @ 275:6fefd5811b9b v3
refactoring
author | cin |
---|---|
date | Fri, 27 Apr 2018 16:57:30 +0300 |
parents | 3a6e18c432be |
children |
rev | line source |
---|---|
264 | 1 using System.Xml.Serialization; |
2 | |
3 namespace Implab.Test.Model { | |
4 | |
5 [XmlRoot(Namespace="urn:implab:test:model")] | |
6 public class Person { | |
7 public string FirstName { get; set; } | |
8 | |
9 public string LastName { get; set; } | |
10 | |
11 public int Age { get; set; } | |
12 | |
13 [XmlIgnore] | |
14 public bool AgeSpecified { get; set; } | |
15 | |
16 | |
17 [XmlElement("Tag")] | |
18 public string[] Tags { get; set; } | |
19 } | |
20 } |