New to Telerik UI for .NET MAUIStart a free 30-day trial

Provides a service locator interface for dependency injection.

Definition

Namespace:Telerik.Maui.Controls.ImageEditor

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public interface IServiceLocator

Methods

Gets a service of the specified type.

C#
TService GetService<TService>() where TService : class
Returns:

TService

An instance of the requested service type.

In this article
DefinitionMethodsGetService<TService>()
Not finding the help you need?
Contact Support