Interface IServiceLocator
Represents a service locator.
Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.WinControls.RadDiagram.dll
Syntax
public interface IServiceLocator
Methods
GetService<T>()
Gets a service.
Declaration
T GetService<T>()
Returns
T
|
Type Parameters
T
|
Register<T>(T)
Registers new service.
Declaration
void Register<T>(T service)
Parameters
T
service
The service. |
Type Parameters
T
|
RegisterDefaultServices()
Registers the default services.
Declaration
void RegisterDefaultServices()
Events
ServiceRegistered
Occurs when a service is registered.
Declaration
event EventHandler<ServiceRegisterEventArgs> ServiceRegistered
Event Type
System.EventHandler<ServiceRegisterEventArgs>
|