public void DoStuff() { _template = new TemplateImpl0(); _template.Execute(); _template = new TemplateImpl1(); _template.Execute(); }
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(); }
public override void Execute() { View.Model = Model; View.Execute(); ParentControl.ViewContent.Text = View.Result; }