예제 #1
0
파일: HoconRoot.cs 프로젝트: nagytech/HOCON
        /// <inheritdoc cref="GetLongList(string)"/>
        public IList <long> GetLongList(HoconPath path)
        {
            HoconValue value = GetNode(path);

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

            return(value.GetLongList());
        }