Mercurial > pub > ImplabNet
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 |
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 } |