[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Core.Rendering.Tools.ServiceProviderExtension.GetService

GetService Method

GetService<T>(IServiceProvider)

Get the service of specified type.

Declaration
public static T GetService<T>(this IServiceProvider provider) where T : class
Parameters
Type Name Description
IServiceProvider provider

The service provider to get from.

Returns
Type Description
T

The found service of specified type.

Type Parameters
Name Description
T

The type of service to get.