Пример #1
0
        /// <inheritdoc cref="GetDecimalList(string)"/>
        public IList <decimal> GetDecimalList(HoconPath path)
        {
            HoconValue value = GetNode(path);

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

            return(value.GetDecimalList());
        }