コード例 #1
0
        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);
        }
コード例 #2
0
        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;
        }