コード例 #1
0
 public IList<IArea> GetAreasOfAreaType(string area_codes)
 {
     try
     {
         var codes = new StringListParser(area_codes).StringList;
         var areaListBuilder = new AreaListProvider(ReaderFactory.GetAreasReader());
         areaListBuilder.CreateAreaListFromAreaCodes(codes);
         return areaListBuilder.Areas;
     }
     catch (Exception ex)
     {
         Log(ex);
         throw;
     }
 }
コード例 #2
0
 private static IList<string> ParseList(string ins)
 {
     var list = new StringListParser(ins).StringList;
     return list;
 }