public static PersonCivilState FromXmlType(CivilStatusType oio) { if (oio != null) { return(new PersonCivilState() { CivilStatusCodeTypeId = (int)oio.CivilStatusKode, Effect = Effect.FromTilstandVirkningType(oio.TilstandVirkning) }); } return(null); }
public CivilStatus(CivilStatusType type, DateTime from) { Type = Util.RequireNonNull(type, "type"); From = Util.RequireNonNull(from, "from"); }