Interface IServiceProvider
A generic interface which provides information about the given service and the service itself.
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.ScheduleView.dll
Syntax
public interface IServiceProvider
Methods
GetService<T>()
Gets a service if available.
Declaration
T GetService<T>()
where T : class
Returns
T
The service. |
Type Parameters
T
The type of the service. |
HasService<T>()
Gets a value that indicates whether this provider has service of this type.
Declaration
bool HasService<T>()
where T : class
Returns
System.Boolean
True if such service is available, otherwise false. |
Type Parameters
T
The service type. |