protected override void ProcessRecord()
        {
            var targets = new VisioAutomation.Scripting.TargetShapes(this.Shapes);

            var dic = this.Client.ConnectionPoint.Get(targets);

            if (this.GetCells)
            {
                this.WriteObject(dic);
                return;
            }

            foreach (var shape_points in dic)
            {
                var shape  = shape_points.Key;
                var points = shape_points.Value;

                int shapeid = shape.ID;

                foreach (var point_cells in points)
                {
                    var cp = new Model.ConnectionPointValues(shapeid, point_cells);
                    this.WriteObject(cp);
                }
            }
        }
        protected override void ProcessRecord()
        {
            var dic = this.client.ConnectionPoint.Get(this.Shapes);

            if (this.GetCells)
            {
                this.WriteObject(dic);
                return;
            }

            foreach (var shape_points in dic)
            {
                var shape = shape_points.Key;
                var points = shape_points.Value;

                int shapeid = shape.ID;

                foreach (var point_cells in points)
                {
                    var cp = new Model.ConnectionPointValues(shapeid, point_cells);
                    this.WriteObject(cp);
                }
            }
        }