Nancy.Response.PreExecute C# (CSharp) Method

PreExecute() public method

Executes at the end of the nancy execution pipeline and before control is passed back to the hosting. Can be used to pre-render/validate views while still inside the main pipeline/error handling.
public PreExecute ( Nancy.NancyContext context ) : System.Threading.Tasks.Task
context Nancy.NancyContext Nancy context
return System.Threading.Tasks.Task
        public virtual Task PreExecute(NancyContext context)
        {
            return TaskHelpers.CompletedTask;
        }