Manos.Mvc.ActionHandler.InvokeMvcController C# (CSharp) Method

InvokeMvcController() public method

public InvokeMvcController ( IManosContext ctx ) : void
ctx IManosContext
return void
        public void InvokeMvcController(IManosContext ctx)
        {
            if (useThreadPool)
            {
                // Invoke the action on the thread pool
                System.Threading.ThreadPool.QueueUserWorkItem(o=>InvokeControllerInternal((IManosContext)ctx), ctx);
            }
            else
            {
                // Invoke the controller on the event loop thread
                InvokeControllerInternal(ctx);
            }
        }