Manos.Mvc.ViewResult.Process C# (CSharp) Method

Process() public method

public Process ( ControllerContext ctx ) : void
ctx ControllerContext
return void
        public void Process(ControllerContext ctx)
        {
            // Find the view file
            var view = app.ViewService.LoadViewTemplate(viewname, controller.GetType().Name);

            // Render it!
            view.Render(ctx, model, null, !partial);

            // Done!
            ctx.Response.End();
        }