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: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public static IApplicationBuilder RunWebDocumentViewerMiddleware(
	this IApplicationBuilder builder,
	IWebDocumentViewerCallbacks callbacks
)

Parameters

builder
Type: IApplicationBuilder
Current application builder instance.
callbacks
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