C# Class MakingSense.AspNetCore.Documentation.DocumentationMiddleware

Show file Open project: MakingSense/aspnet-documentation-middleware

Public Methods

Method Description
DocumentationMiddleware ( [ next, [ logger, [ hostingEnv, [ documentHandlerResolver, [ options ) : System
Invoke ( HttpContext context ) : System.Threading.Tasks.Task

Private Methods

Method Description
ApplyResponseContent ( HttpResponse response, IDocumentHandler handler ) : System.Threading.Tasks.Task
ApplyResponseHeaders ( HttpResponse response, IDocumentHandler handler ) : void
GetFilePath ( string subpath, bool &isDirectory ) : string
ParseLayout ( ) : void
TryGetDocumentsSubpath ( HttpRequest request, PathString &subpath ) : bool

Method Details

DocumentationMiddleware() public method

public DocumentationMiddleware ( [ next, [ logger, [ hostingEnv, [ documentHandlerResolver, [ options ) : System
next [
logger [
hostingEnv [
documentHandlerResolver [
options [
return System

Invoke() public method

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