Mercurial > pub > ImplabNet
annotate Implab.Test/Model/Person.cs @ 269:ff581cff7003 v3
Working on Unity container xml configuration
author | cin |
---|---|
date | Tue, 24 Apr 2018 01:46:02 +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 } |