Click or drag to resize

WebDocumentViewerMiddleware Constructor (RequestDelegate, IHostingEnvironment, WebDocumentViewerOptions, IWebDocumentViewerCallbacks)

Initializes a new instance of WebDocumentViewerMiddleware class with specified options and callbacks.

Namespace:  Atalasoft.Imaging.WebControls.Core
Assembly:  Atalasoft.dotImage.WebControls.Core (in Atalasoft.dotImage.WebControls.Core.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public WebDocumentViewerMiddleware(
	RequestDelegate next,
	IHostingEnvironment env,
	WebDocumentViewerOptions options,
	IWebDocumentViewerCallbacks callbacks
)

Parameters

next
Type: RequestDelegate
The delegate representing the remaining middleware in the request pipeline. Ignores by this middleware.
env
Type: IHostingEnvironment
The information about the web hosting environment.
options
Type: Atalasoft.Imaging.WebControls.CoreWebDocumentViewerOptions
The WebDocumentViewerOptions object.
callbacks
Type: Atalasoft.Imaging.WebControls.CoreIWebDocumentViewerCallbacks
The IWebDocumentViewerCallbacks object.
See Also