IServiceContainerAddServiceTService Method
Adds the specified service to the service container.

Namespace: Aspose.Html.Services
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 21.4
Syntax
void AddService<TService>(
	TService service
)
where TService : class, IService

Parameters

service
Type: TService
The service instance.

Type Parameters

TService
The type of the service.
See Also