private TestFilter ( object>.IDictionary |
||
filter | object>.IDictionary | |
return | bool |
/// <summary> /// Init shape Array /// </summary> /// <returns></returns> private object Shapes(IDictionary <string, object> filter) { List <object> shapes = new List <object>(); foreach (PowerPoint.Shape pptShape in this.slide.Shapes) { var shape = new Shape(pptShape); if (shape.TestFilter(filter)) { shapes.Add(shape.Invoke()); } } return(shapes.ToArray()); }
/// <summary> /// Init shape Array /// </summary> /// <returns></returns> private object Shapes(IDictionary<string, object> filter) { List<object> shapes = new List<object>(); foreach (PowerPoint.Shape pptShape in this.slide.Shapes) { var shape = new Shape(pptShape); if (shape.TestFilter(filter)) { shapes.Add(shape.Invoke()); } } return shapes.ToArray(); }