Click or drag to resize

AsdWebSignerServiceCollectionExtensionsAddAsdWebSignerApiTSignResultPersistor Method (IMvcBuilder)

Adds ASDWebSigner REST API Interface

Namespace:  Microsoft.Extensions.DependencyInjection
Assembly:  ASDSoft.WebSigner.Server (in ASDSoft.WebSigner.Server.dll) Version: 2.5.0
Syntax
C#
public static IMvcBuilder AddAsdWebSignerApi<TSignResultPersistor>(
	this IMvcBuilder mvcBuilder
)
where TSignResultPersistor : class, ISignResultPersistor

Parameters

mvcBuilder
Type: IMvcBuilder
An IMvcBuilder that can be used to further configure the ASDWebSigner services.

Type Parameters

TSignResultPersistor
Custom type of persistor for persist result for REST API calling.

Return Value

Type: IMvcBuilder
Implemenation of the IMvcBuilder

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IMvcBuilder. 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