A commande line interface

This commit is contained in:
Paul Schneider 2018-04-12 13:27:49 +02:00
commit f8774add61
12 changed files with 14401 additions and 633 deletions

View file

@ -0,0 +1,22 @@
using System.Threading.Tasks;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Hosting;
using Microsoft.AspNet.Http;
public class InteractiveConsoleMiddleWare
{
public InteractiveConsoleMiddleWare(RequestDelegate next)
{
_next = next;
}
readonly RequestDelegate _next;
public async Task Invoke(HttpContext context, IHostingEnvironment hostingEnviroment)
{
//do something
System.Console.WriteLine("kjhnlkhkl");
await _next.Invoke(context);
}
}