Click or drag to resize

AsdWebSignerServiceCollectionExtensionsAddAsdWebSignerTSigner Method

Adds ASDWebSigner services to the specified IServiceCollection.

Namespace:  Microsoft.Extensions.DependencyInjection
Assembly:  ASDSoft.WebSigner.Server (in ASDSoft.WebSigner.Server.dll) Version: 2.5.0
Syntax
C#
public static IMvcBuilder AddAsdWebSigner<TSigner>(
	this IMvcBuilder mvcBuilder,
	Action<IServiceProvider, ContentConverterProvider> setupAction = null
)
where TSigner : SignerBase

Parameters

mvcBuilder
Type: IMvcBuilder
An IMvcBuilder that can be used to further configure the ASDWebSigner services.
setupAction (Optional)
Type: SystemActionIServiceProvider, ContentConverterProvider
Action for configure ContentConverterProvider

Type Parameters

TSigner
Type of Host application implementation of SignerBase for callback functions.

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