示例#1
0
 public override void UpdateVars()
 {
     buildConfigList = GetPropertyString("buildConfigurationList");
     name            = GetPropertyString("name");
     phases          = GetPropertyList("buildPhases");
     dependencies    = GetPropertyList("dependencies");
 }
示例#2
0
 public override void UpdateVars()
 {
     children = GetPropertyList("children");
     path     = GetPropertyString("path");
     name     = GetPropertyString("name");
     if (name == null)
     {
         name = path;
     }
     if (path == null)
     {
         path = "";
     }
     tree = FileTypeUtils.ParseSourceTree(GetPropertyString("sourceTree"));
 }
        /* Iterates the given guid list and removes all guids that are not in allGuids dictionary.
         */
        static void RemoveMissingGuidsFromGuidList(PBX.GUIDList guidList, Dictionary <string, bool> allGuids)
        {
            List <string> guidsToRemove = null;

            foreach (var guid in guidList)
            {
                if (!allGuids.ContainsKey(guid))
                {
                    if (guidsToRemove == null)
                    {
                        guidsToRemove = new List <string>();
                    }
                    guidsToRemove.Add(guid);
                }
            }
            if (guidsToRemove != null)
            {
                foreach (var guid in guidsToRemove)
                {
                    guidList.RemoveGUID(guid);
                }
            }
        }
示例#4
0
 public override void UpdateVars()
 {
     files = GetPropertyList("files");
 }
示例#5
0
 public override void UpdateVars()
 {
     buildConfigs = GetPropertyList("buildConfigurations");
 }