Exemplo n.º 1
0
        public void DoStuff()
        {
            _template = new TemplateImpl0();
            _template.Execute();

            _template = new TemplateImpl1();
            _template.Execute();
        }
Exemplo n.º 2
0
        public override void Execute()
        {
            View.Model = Model;
            View.Execute();

            var resp = ParentControl.Page.Response;

            resp.Clear();
            resp.ContentType = "text/html";
            resp.StatusCode  = 200;
            resp.Write(View.Result);
            resp.End();
        }
Exemplo n.º 3
0
 public override void Execute()
 {
     View.Model = Model;
     View.Execute();
     ParentControl.ViewContent.Text = View.Result;
 }