SuperMap.WindowsPhone.Core.GeoRegion.RemoveGeoPointCollectionEvents C# (CSharp) Method

RemoveGeoPointCollectionEvents() private method

private RemoveGeoPointCollectionEvents ( IEnumerable items ) : void
items IEnumerable
return void
        private void RemoveGeoPointCollectionEvents(IEnumerable items)
        {
            foreach (object obj2 in items)
            {
                Point2DCollection points = obj2 as Point2DCollection;
                if (points != null)
                {
                    points.Point2DChanged -= coll_PointChanged;
                    points.CollectionChanged -= new NotifyCollectionChangedEventHandler(this.coll_PointChanged);
                }
            }
        }