Example #1
0
        public SVGNodeParser GetNodeParser(SVGNodeDescription target)
        {
            ISVGNodeParserBuilder nodeParserBuilder = new NetworkNodeParserBuilder();

            this.Director.ChangeBuilder(nodeParserBuilder);
            this.Director.Make(target);
            return(nodeParserBuilder.GetResult());
        }
Example #2
0
        public SVGParsersService()
        {
            var initialBuilder = new NetworkNodeParserBuilder();

            this.Director = new NodeParserDirector(initialBuilder);
        }