private bool ParseLine(string line) { var matches = omssaRegex.Matches(line); foreach (Match match in matches) { if (!match.Success) { return(false); } string key = match.Groups[1].Value; string value = match.Groups[2].Value; OmssaParameter parameter = new OmssaParameter(key, value); Parameters.Add(parameter); } return(true); }
private bool ParseLine(string line) { var matches = omssaRegex.Matches(line); foreach (Match match in matches) { if (!match.Success) return false; string key = match.Groups[1].Value; string value = match.Groups[2].Value; OmssaParameter parameter = new OmssaParameter(key, value); Parameters.Add(parameter); } return true; }