InterfaceIServiceLocator
Interface
Provides a service locator interface for dependency injection.
Definition
Namespace:Telerik.Maui.Controls.ImageEditor
Assembly:Telerik.Maui.Controls.dll
Syntax:
cs-api-definition
public interface IServiceLocator
Methods
GetService<TService>()
Gets a service of the specified type.
Declaration
cs-api-definition
TService GetService<TService>() where TService : class
Returns
TService
An instance of the requested service type.