public static BuildConfigEntry FromNameValue(string name, string value)
 {
     BuildConfigEntry ret = new BuildConfigEntry();
     ret.name = name;
     ret.AddValue(value);
     return ret;
 }
Beispiel #2
0
        public static BuildConfigEntry FromNameValue(string name, string value)
        {
            var ret = new BuildConfigEntry();

            ret.name = name;
            ret.AddValue(value);
            return(ret);
        }
Beispiel #3
0
        protected string ReadBuildPropertiesListProperty(string curLine, TextReader sr)
        {
            if (curLine.Trim() != "buildSettings = {")
            {
                return(curLine);
            }
            curLine = sr.ReadLine();
            while (curLine.Trim() != "};")
            {
                var val = new BuildConfigEntry();
                val.Read(curLine, sr);
                entry[val.name] = val;

                curLine = sr.ReadLine();
            }
            return(curLine);
        }
        protected string ReadBuildPropertiesListProperty(string curLine, TextReader sr)
        {
            if (curLine.Trim() != "buildSettings = {")
                return curLine;
            curLine = sr.ReadLine();
            while (curLine.Trim() != "};")
            {
                BuildConfigEntry val = new BuildConfigEntry();
                val.Read(curLine, sr);
                entry[val.name] = val;

                curLine = sr.ReadLine();
            }
            return curLine;
        }
Beispiel #5
0
 public void SetProperty(string aName, string value)
 {
     entry[aName] = BuildConfigEntry.FromNameValue(aName, value);
 }