view 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
line wrap: on
line source

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; }
    }
}