Invoke() публичный Метод

Process an individual request.
public Invoke ( IOwinContext context ) : System.Threading.Tasks.Task
context IOwinContext
Результат System.Threading.Tasks.Task
        private static void Register(IApplicationBuilder builder)
        {
            builder.Use(async(context, next) =>
            {
                var result = SimplifyWebOwinMiddleware.Invoke(context);

                await result.Task;

                if (result.Status == RequestHandlingStatus.RequestWasUnhandled)
                {
                    await next.Invoke();
                }
            });
        }
 private static void RegisterAsTerminal(IApplicationBuilder builder)
 {
     builder.Run(async(context) => await SimplifyWebOwinMiddleware.Invoke(context).Task);
 }