Mercurial > pub > ImplabNet
annotate Implab.Test/Model/Person.cs @ 277:963b17c275be v3
Refactoring
Added <array> element to injection parameters
Working on registrations of factories
| author | cin |
|---|---|
| date | Sat, 28 Apr 2018 18:48:09 +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 } |
