Interface
IServiceProvider

A generic interface which provides information about the given service and the service itself.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

cs-api-definition
public interface IServiceProvider

Methods

GetService<T>()

Gets a service if available.

Declaration

cs-api-definition
T GetService<T>() where T : class

Returns

T

The service.

HasService<T>()

Gets a value that indicates whether this provider has service of this type.

Declaration

cs-api-definition
bool HasService<T>() where T : class

Returns

bool

True if such service is available, otherwise false.

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