示例#1
0
        /// <inheritdoc cref="GetDoubleList(string)"/>
        public IList <double> GetDoubleList(HoconPath path)
        {
            HoconValue value = GetNode(path);

            if (ReferenceEquals(value, HoconValue.Undefined))
            {
                throw new HoconParserException($"Hocon path {path} was not an array.");
            }

            return(value.GetDoubleList());
        }