Ejemplo n.º 1
0
        protected override ProjectElement CreateChildElement(string name)
        {
            switch (name)
            {
            case "Output":
                var output = RootElement.CreateOutputElement(null, null, null);
                AppendChild(output);
                return(output);

            default:
                throw new InvalidProjectFileException(String.Format(
                                                          "Child \"{0}\" is not a known node type.", name));
            }
        }