InterfaceIRadServiceProvider
Interface
Interface provides methods for registering and accessing RadService.
Definition
Namespace:Telerik.WinControls
Assembly:Telerik.WinControls.dll
Syntax:
cs-api-definition
public interface IRadServiceProvider
Methods
GetService<T>()
Retrieves currently registered RadService by the specified type.
Declaration
cs-api-definition
T GetService<T>() where T : RadService
Returns
T
The registered service instance of type T,
or null if no service of the specified type is registered.
RegisterService(RadService)
Registers the specified service with ourselves.
Declaration
cs-api-definition
void RegisterService(RadService service)
Parameters
service
An instance of type derived from RadService.