Interface IServiceLocator
Provides a service locator interface for dependency injection.
Namespace: Telerik.Maui.Controls.ImageEditor
Assembly: Telerik.Maui.Controls.dll
Syntax
public interface IServiceLocator
Methods
GetService<TService>()
Gets a service of the specified type.
Declaration
TService GetService<TService>()
where TService : class
Returns
TService
An instance of the requested service type. |
Type Parameters
TService
The type of service to retrieve. |