public void SaveConfigTemplate(string filePath, IConfigTemplate configTemplate)
        {
            if (filePath == null || string.IsNullOrEmpty(filePath.Trim()))
                throw new ArgumentNullException("filePath");

            if (configTemplate == null)
                throw new ArgumentNullException("configTemplate");

            _fileHelper.SaveFileText(filePath, configTemplate.Details);
        }
예제 #2
0
 public ConfigTemplateModel(IConfigTemplate entity)
 {
     this.Entity = entity;
     this.configs = new Dictionary<string, string>();
     BuildConfiguration();
 }
예제 #3
0
 public ConfigTemplateModel(IConfigTemplate entity)
 {
     this.Entity  = entity;
     this.configs = new Dictionary <string, string>();
     BuildConfiguration();
 }
예제 #4
0
파일: IDGenerator.cs 프로젝트: bzure/BCF
 static void ConfigTemplateModel_OnConfigTemplatedUpdated(IConfigTemplate Template, string ConfigKey, string ConfigValue)
 {
 }