예제 #1
0
        public void Parse(IGraphBuilder builder)
        {
            var familyParser = new FamilyParser(builder, _mementoCreator);

            forEachNode(PLUGIN_FAMILY_NODE).Do(familyParser.ParseFamily);
            forEachNode(DEFAULT_INSTANCE).Do(familyParser.ParseDefaultElement);
            forEachNode(ADD_INSTANCE_NODE).Do(familyParser.ParseInstanceElement);

            ParseProfilesAndMachines(builder);
        }
        public void Parse(IGraphBuilder builder)
        {
            var familyParser = new FamilyParser(builder, _mementoCreator);

            forEachNode(PLUGIN_FAMILY_NODE).Do(familyParser.ParseFamily);
            forEachNode(DEFAULT_INSTANCE).Do(familyParser.ParseDefaultElement);
            forEachNode(ADD_INSTANCE_NODE).Do(familyParser.ParseInstanceElement);

            ParseProfilesAndMachines(builder);
        }