public static BuildConfigEntry FromNameValue(string name, string value) { BuildConfigEntry ret = new BuildConfigEntry(); ret.name = name; ret.AddValue(value); return(ret); }
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); }
public void SetProperty(string name, string value) { entry[name] = BuildConfigEntry.FromNameValue(name, value); }