Click or drag to resize

WebControlsCoreExtensionsRunWebDocumentViewerMiddleware Method (IApplicationBuilder, IWebDocumentViewerCallbacks)

Adds a terminal WebDocumentViewerMiddleware with custom callbacks in the chain of middlewares.

Namespace:  Atalasoft.Imaging.WebControls.Core
Assembly:  Atalasoft.dotImage.WebControls.Core (in Atalasoft.dotImage.WebControls.Core.dll) Version: (.NET 4.5.2, x86)
public static IApplicationBuilder RunWebDocumentViewerMiddleware(
	this IApplicationBuilder builder,
	IWebDocumentViewerCallbacks callbacks


Type: IApplicationBuilder
Current application builder instance.
Type: Atalasoft.Imaging.WebControls.CoreIWebDocumentViewerCallbacks
Web Document Viewer middleware callbacks.

Return Value

Type: IApplicationBuilder
Updated application builder instance.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IApplicationBuilder. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also