private void Initiate(string Value, ref bool p) { int i = AppHelper.BoolTruefalseUnkown(Value); if (i == 1) { p = true; } else if (i == 0) { p = false; } }
private void SetATrrAndVal(string name, string val) { name = name.ToLower().Trim(); if (name == "name") { this.LangName = val; } else if (name == "version") { this.LangVersion = val; } else if (name == "path") { this.CompilerPath = val; } else if (name == "arguments") { this.ProcessArgs = val; } else if (name == "enabled") { this.Enabled = val != "no"; } else if (name == "exts") { this.SetExtsFromString(val); } else if (name == "DecodeDataBeforeEnvironment".ToLower()) { this.DecodeDataBeforeEnvironment = (AppHelper.BoolTruefalseUnkown(val) == 1); } }