예제 #1
0
        /// <summary>
        /// Execute the simple-to-complete code.
        /// </summary>
        /// <param name="osmGeoList"></param>
        /// <returns></returns>
        private List <OsmGeo> Filter(IEnumerable <OsmGeo> osmGeoList)
        {
            OsmStreamFilter filter = new OsmStreamFilterReference();

            filter.RegisterSource(osmGeoList.ToOsmStreamSource());
            return(new List <OsmGeo>(filter)); // create the basic stream.
        }
 /// <summary>
 /// Execute the simple-to-complete code.
 /// </summary>
 /// <param name="osmGeoList"></param>
 /// <returns></returns>
 private List<OsmGeo> Filter(IEnumerable<OsmGeo> osmGeoList)
 {
     OsmStreamFilter filter = new OsmStreamFilterReference();
     filter.RegisterSource(osmGeoList.ToOsmStreamSource());
     return new List<OsmGeo>(filter); // create the basic stream.
 }