Person.cs
19 lines
| 417 B
| text/x-csharp
|
CSharpLexer
cin
|
r264 | using System.Xml.Serialization; | |
namespace Implab.Test.Model { | |||
[XmlRoot(Namespace="urn:implab:test:model")] | |||
public class Person { | |||
public string FirstName { get; set; } | |||
public string LastName { get; set; } | |||
public int Age { get; set; } | |||
[XmlIgnore] | |||
public bool AgeSpecified { get; set; } | |||
[XmlElement("Tag")] | |||
public string[] Tags { get; set; } | |||
} | |||
} |