ParseParams() public method

public ParseParams ( ) : String>.IDictionary
return String>.IDictionary
Exemplo n.º 1
0
        /// <summary>
        ///     Handle loading the filenames.
        /// </summary>
        /// <param name="section">The section being loaded.</param>
        private void HandleFilenames(EncogFileSection section)
        {
            IDictionary<String, String> prop = section.ParseParams();
            _script.Properties.ClearFilenames();


            foreach (var e in prop)
            {
                _script.Properties.SetFilename(e.Key, e.Value);
            }
        }
Exemplo n.º 2
0
        /// <summary>
        ///     Load a generic subsection.
        /// </summary>
        /// <param name="section">The section to load from.</param>
        private void LoadSubSection(EncogFileSection section)
        {
            IDictionary<String, String> prop = section.ParseParams();


            foreach (String name in prop.Keys)
            {
                String key = section.SectionName.ToUpper() + ":"
                             + section.SubSectionName.ToUpper() + "_" + name;
                String v = prop[name] ?? "";
                ValidateProperty(section.SectionName,
                                 section.SubSectionName, name, v);
                _script.Properties.SetProperty(key, v);
            }
        }
Exemplo n.º 3
0
 private void x63659fc10ec15c58(EncogFileSection xb32f8dd719a105db)
 {
     IDictionary<string, string> dictionary = xb32f8dd719a105db.ParseParams();
     this._x594135906c55045c.Properties.ClearFilenames();
     foreach (KeyValuePair<string, string> pair in dictionary)
     {
         this._x594135906c55045c.Properties.SetFilename(pair.Key, pair.Value);
     }
 }