예제 #1
0
        // Public Methods 

        public static PropertyGroup Deserialize(XElement e)
        {
            PropertyGroup p = new PropertyGroup();
            var ns = e.Name.Namespace;
            var g = e.Element(ns + "DebugSymbols");
            if (g != null)
                p.DebugSymbols = (bool)g;
            p.DefineConstants = (string)e.Element(ns + "DefineConstants");
            p.OutputPath = (string)e.Element(ns + "OutputPath");

            p.OutputType = (string)e.Element(ns + "OutputType");
            p.AssemblyName = (string)e.Element(ns + "AssemblyName");
            p.ProjectGuid = (Guid?)e.Element(ns + "ProjectGuid");

            return p;
        }