public static void AddModule(TemplateInfo template, string modulename) { File.Create(Path.Combine(template.FullPath, String.Concat(modulename, ".xslt"))); }
public static bool IsModuleExist(TemplateInfo template, string filename) { if (File.Exists(Path.Combine(template.FullPath, String.Concat(filename, ".xslt")))) return true; else return false; }
public static void DeleteTemplate(TemplateInfo template) { Directory.Delete(template.FullPath, true); }