C# Class Serenity.Web.Middleware.DynamicScriptMiddleware

Exibir arquivo Open project: volkanceylan/Serenity

Public Methods

Method Description
DynamicScriptMiddleware ( RequestDelegate next ) : Microsoft.AspNetCore.Builder
Invoke ( HttpContext context ) : System.Threading.Tasks.Task
ReturnScript ( HttpContext context, string scriptKey, string contentType ) : System.Threading.Tasks.Task
WriteWithIfModifiedSinceControl ( HttpContext context, byte bytes, System.DateTime lastWriteTime ) : System.Threading.Tasks.Task

Method Details

DynamicScriptMiddleware() public method

public DynamicScriptMiddleware ( RequestDelegate next ) : Microsoft.AspNetCore.Builder
next RequestDelegate
return Microsoft.AspNetCore.Builder

Invoke() public method

public Invoke ( HttpContext context ) : System.Threading.Tasks.Task
context HttpContext
return System.Threading.Tasks.Task

ReturnScript() public static method

public static ReturnScript ( HttpContext context, string scriptKey, string contentType ) : System.Threading.Tasks.Task
context HttpContext
scriptKey string
contentType string
return System.Threading.Tasks.Task

WriteWithIfModifiedSinceControl() public static method

public static WriteWithIfModifiedSinceControl ( HttpContext context, byte bytes, System.DateTime lastWriteTime ) : System.Threading.Tasks.Task
context HttpContext
bytes byte
lastWriteTime System.DateTime
return System.Threading.Tasks.Task