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); }
public ConfigTemplateModel(IConfigTemplate entity) { this.Entity = entity; this.configs = new Dictionary<string, string>(); BuildConfiguration(); }
public ConfigTemplateModel(IConfigTemplate entity) { this.Entity = entity; this.configs = new Dictionary <string, string>(); BuildConfiguration(); }
static void ConfigTemplateModel_OnConfigTemplatedUpdated(IConfigTemplate Template, string ConfigKey, string ConfigValue) { }