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