Exemplo n.º 1
0
        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);
            }
        }
Exemplo n.º 2
0
        /// <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);
        }