System.Web.Razor.RazorDebugHelpers.RunTask C# (CSharp) Method

RunTask() private method

private RunTask ( Action action ) : void
action Action
return void
        private static void RunTask(Action action)
        {
            Task.Factory.StartNew(() =>
            {
                try
                {
                    action();
                }
                catch
                {
                    // Catch all errors since this is just a debug helper
                }
            });
        }