public void Execute(string path, bool copyContext) { ZeusTemplate template = new ZeusTemplate(FileTools.MakeAbsolute(path, this.ExecutingTemplate.FilePath)); if (copyContext) { template.Execute(this.Copy(), 0, true); } else { template.Execute(this, 0, true); } }
/// <summary> /// Depricated! Use: Execute(string path, bool copyContext) /// </summary> /// <param name="path"></param> public void ExecuteTemplate(string path) { ZeusTemplate template = new ZeusTemplate(FileTools.MakeAbsolute(path, this.ExecutingTemplate.FilePath)); template.Execute(this, 0, true); }