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; }
public void TestSetup() { _address = new Address(); }
private void AssignAddress(Address address) { Address = address; }