ConfigurationGetServiceTService Method
Gets the requested service.

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

Type Parameters

TService
The type of service to retrieve.

Return Value

Type: TService
An instance of the service if it could be found, or

Field Value

Type: TService
null if it could not be found

Implements

IServiceProviderGetServiceTService
See Also