IServiceProviderGetServiceTService Method
Gets a service object of the specified type.

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

Type Parameters

TService
The type of the service.

Return Value

Type: TService
The service object
See Also