コード例 #1
0
 public static bool TryParse(string code, out WarehouseAndStationCode warehouseAndStationCode)
 {
     warehouseAndStationCode = null;
     try
     {
         warehouseAndStationCode = new WarehouseAndStationCode(code);
         return(true);
     }
     catch
     {
         return(false);
     }
 }
コード例 #2
0
 public WarehouseAndStationCode(WarehouseAndStationCode code)
 {
     Warehouse = code.Warehouse;
     Station   = code.Station;
 }