Beispiel #1
0
 /// <summary>
 /// Gets the config options for the project
 /// </summary>
 /// <param name="projPath">the project path</param>
 /// <returns>The configuration options</returns>
 public IConfigOptions GetForProject(string projPath)
 {
     return(ConfigParser.GetForProject(projPath));
 }
Beispiel #2
0
        /// <summary>
        /// Saves the config options
        /// </summary>
        /// <param name="options">The config options to save</param>
        /// <param name="toPath">The path to save to</param>
        public void Save(IConfigOptions options, string toPath)
        {
            ConfigOptions configOpts = options as ConfigOptions;

            ConfigParser.Save(configOpts, toPath);
        }
Beispiel #3
0
 /// <summary>
 /// Gets the configuration filepath
 /// </summary>
 /// <param name="projPath">The project path</param>
 /// <returns>The config filepath</returns>
 public string GetConfigFilepath(string projPath)
 {
     return(ConfigParser.GetConfigFilepath(projPath));
 }