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 ConnectionPointValues(shapeid, point_cells); this.WriteObject(cp); } } }