Beispiel #1
0
 public static bool TryParse(string code, out LocationCode locationCode)
 {
     locationCode = null;
     try
     {
         locationCode = new LocationCode(code);
         return(true);
     }
     catch
     {
         return(false);
     }
 }
Beispiel #2
0
 public LocationCode(LocationCode locationCode)
 {
     Address = locationCode.Address;
 }