Exemplo n.º 1
0
        /// <summary>
        /// Read method through StreamReader
        /// </summary>
        /// <param name="filePath"></param>
        public void StreamRead(string filePath)
        {
            List <IFigure> figures = StreamIO.StreamRead(filePath);

            if (figures.Count > 20)
            {
                throw new NoPlaceException();
            }
            this.figures = figures;
        }