IServiceContainer

StockSharp.Xaml.Charting

Defines the interface to a ServiceContainer used throughout Ultrachart. For a full list of available services, see the remarks on ServiceContainer

Methods

GetService``1
public T GetService<T>()
result = iServiceContainer.GetService()

Gets the service instance registered by type. For a full list of available services, see the remarks on ServiceContainer

Returns: The service instance, unique to this UltrachartSurface instance

RegisterService``1
public void RegisterService<T>(T instance)
iServiceContainer.RegisterService(instance)

Registers the service.

instance
The instance.