コード例 #1
0
ファイル: Config.cs プロジェクト: yyp2003net/akka.net
        /// <summary>
        /// Retrieves a list of float values from the specified path in the configuration.
        /// </summary>
        /// <param name="path">The path that contains the values to retrieve.</param>
        /// <exception cref="InvalidOperationException">This exception is thrown if the current node is undefined.</exception>
        /// <returns>The list of float values defined in the specified path.</returns>
        public virtual IList <float> GetFloatList(string path)
        {
            HoconValue value = GetNode(path);

            return(value.GetFloatList());
        }
コード例 #2
0
 public static object ParseFloatList(HoconValue e)
 {
     return(e.GetFloatList());
 }