| AsdWebSignerServiceCollectionExtensionsAddAsdWebSignerApiTSignResultPersistor Method (IMvcBuilder, FuncIServiceProvider, TSignResultPersistor) |
Adds ASDWebSigner REST API Interface
Namespace:
Microsoft.Extensions.DependencyInjection
Assembly:
ASDSoft.WebSigner.Server (in ASDSoft.WebSigner.Server.dll) Version: 2.5.0
Syntax public static IMvcBuilder AddAsdWebSignerApi<TSignResultPersistor>(
this IMvcBuilder mvcBuilder,
Func<IServiceProvider, TSignResultPersistor> implementationFactory
)
where TSignResultPersistor : class, ISignResultPersistor
Parameters
- mvcBuilder
- Type: IMvcBuilder
An IMvcBuilder that can be used to further configure the ASDWebSigner services. - implementationFactory
- Type: SystemFuncIServiceProvider, TSignResultPersistor
Factory method for create persistor instance for persist result for REST API calling.
Type Parameters
- TSignResultPersistor
- Custom type of persistor for persist result for REST API calling.
Return Value
Type:
IMvcBuilderImplemenation of the
IMvcBuilderUsage 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