Class ServiceProviderExtensions
Extension methods for IServiceProvider.
Inherited Members
Namespace: Unity.AppUI.MVVM
Assembly: solution.dll
Syntax
public static class ServiceProviderExtensions
  Methods
| Name | Description | 
|---|---|
| GetRequiredService<T>(IServiceProvider) | Gets a service from the service provider. Throws an exception if the service is not found.  | 
      
| GetService<T>(IServiceProvider) | Gets a service from the service provider.  |