Invoke() public méthode

Retuns an object with async functions for node.js
public Invoke ( ) : object
Résultat object
        /// <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());
        }
Exemple #2
0
        /// <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();
        }