| Overload | Description |
|---|---|
| GetRequiredService0(IServiceProvider,Type) | Gets the required service object of the specified type. |
| GetRequiredService0<TService>(IServiceProvider) | Gets the required service object of the specified type, casting it to the same type. |