Beispiel #1
0
        public static Address FromXElement(XElement xElement)
        {
            var name = new Address();

            foreach (var element in xElement.Elements())
            {
                var elementLocalName = element.Name.LocalName;
                name.AddProperty(elementLocalName, element.Value);
            }

            return name;
        }
Beispiel #2
0
 public void TestSetup()
 {
     _address = new Address();
 }
 private void AssignAddress(Address address)
 {
     Address = address;
 }