Exemple #1
0
        public List <Point> GetPoints()
        {
            var points = new List <Point>
            {
                new Point(1, 2, _pointIconFactory.GetPointIcon(PointType.Cafe)),
                new Point(4, 5, _pointIconFactory.GetPointIcon(PointType.Cinema))
            };

            return(points);
        }
        public List <Point> GetPoints()
        {
            var points = new List <Point>();
            var point  = new Point(1, 2, iconFactory.GetPointIcon(PointType.Cafe));

            points.Add(point);
            return(points);
        }