示例#1
0
        protected void CreateConfigFile(string templatesFolder)
        {
            var config = new HelixTemplateConfiguration {
                ModuleTemplatesFolder = templatesFolder
            };

            WriteConfigFile(ConfigurationFilePath, config);
        }
示例#2
0
 protected virtual void WriteConfigFile(string configurationFilePath, HelixTemplateConfiguration configuration)
 {
     File.WriteAllText(configurationFilePath, configuration.ToString());
 }