public static string GeAddressingName(NavnStrukturType oio) { if (oio != null) { return(oio.PersonNameForAddressingName); } return(null); }
public static string GetNameNoteText(NavnStrukturType oio) { if (oio != null) { return(oio.NoteTekst); } return(null); }
public static string GetNickName(NavnStrukturType oio) { if (oio != null) { return(oio.KaldenavnTekst); } return(null); }
public static PersonName FromXmlType(NavnStrukturType oio) { if (oio != null) { return(FromXmlType(oio.PersonNameStructure)); } return(null); }
public virtual NavnStrukturType ToNavnStrukturType() { var addressingName = Converters.ToNeutralString(this.AddressingName); var ret = NavnStrukturType.Create(addressingName); ret.PersonNameForAddressingName = addressingName; return(ret); }
public NavnStrukturType ToNavnStrukturType() { return(NavnStrukturType.Create( new string[] { this.ToFirstName(), this.ToMiddleName(), this.ToLastName() })); }
public NavnStrukturType ToNavnStrukturType(String firstname, String middlename, String lastname) { // Set the name search criteria PersonNameStructureType nameStructure = new PersonNameStructureType(); nameStructure.PersonGivenName = firstname; nameStructure.PersonMiddleName = middlename; nameStructure.PersonSurnameName = lastname; // Playing the matryoshka doll game NavnStrukturType navnStrukturType = new NavnStrukturType(); navnStrukturType.PersonNameStructure = nameStructure; return(navnStrukturType); }
public SoegInputType1 ToSoegObject() { var parser = new Parsers.DawaAddressParser(); var address = parser.ToAddressType(this.Address); if (address != null) { return(new CprBroker.Schemas.Part.SoegInputType1() { SoegObjekt = new SoegObjektType() { SoegAttributListe = new SoegAttributListeType() { SoegRegisterOplysning = new RegisterOplysningType[] { new RegisterOplysningType() { Item = new CprBorgerType() { FolkeregisterAdresse = address } } }, SoegEgenskab = new SoegEgenskabType[] { new SoegEgenskabType() { NavnStruktur = NavnStrukturType.Create(this.Name) } } } } }); } else { return(null); } }
public NavnStrukturType ToNavnStrukturType() { return(NavnStrukturType.Create(new string[] { this.FirstName, this.LastName }, this.AddressingName)); }