ServiceContainer

StockSharp.Xaml.Charting

Provides access to services throughout Ultrachart. ServiceContainers are created one per UltrachartSurface instance, and shared between peripheral components such as AxisBase, BaseRenderableSeries, ChartModifierBase instances. For a full list of available services, see the remarks on ServiceContainer

实现: IServiceContainer

方法

GetService``1()

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

返回值: The service instance, unique to this UltrachartSurface instance

RegisterService``1(T)

Registers the service.

instance
The instance.