Пример #1
0
 /// <summary>
 /// Creates a parameter tree from the "lingelingParamTree.xml" in the working directory.
 /// </summary>
 /// <returns>The <see cref="ParameterTree"/>.</returns>
 public static ParameterTree CreateParameterTree()
 {
     var parameterTree = ParameterTreeConverter.ConvertToParameterTree(
         Path.Combine(AppDomain.CurrentDomain.BaseDirectory, @"lingelingParamTree.xml"));
     LingelingUtils.AddAllActiveParameterWrappers(parameterTree);
     return parameterTree;
 }
Пример #2
0
        /// <summary>
        /// Creates a parameter tree from the "parameterTree.xml" in the working directory.
        /// </summary>
        /// <returns>The <see cref="ParameterTree"/>.</returns>
        public static ParameterTree CreateParameterTree()
        {
            var parameterTree = ParameterTreeConverter.ConvertToParameterTree(
                Path.Combine(AppDomain.CurrentDomain.BaseDirectory ?? throw new InvalidOperationException(), @"parameterTree.xml"));

            LingelingUtils.AddAllActiveParameterWrappers(parameterTree);
            return(parameterTree);
        }