GetService<T> Method (ServiceExtensions)
In This Topic
Syntax
'Declaration
Public Shared Function GetService(Of As Class)( _
ByVal As System.IServiceProvider _
) As
public static GetService<>(
System.IServiceProvider
)
where T: class
Parameters
- provider
Type Parameters
- T
See Also