InterfaceThreadRefresh

StockSharp.Xaml.Diagram.Controls

Runs the refresh of a view on the view's own thread: at once when asked there, otherwise once for all the asks made before that thread gets to it. A running scheme changes its blocks and sockets on its own thread, many times a second.

Construtores

InterfaceThreadRefresh
public InterfaceThreadRefresh(Dispatcher dispatcher, Action refresh)
interfaceThreadRefresh = InterfaceThreadRefresh(dispatcher, refresh)

Runs the refresh of a view on the view's own thread: at once when asked there, otherwise once for all the asks made before that thread gets to it. A running scheme changes its blocks and sockets on its own thread, many times a second.

dispatcher
The dispatcher of the view.
refresh
What the view does to show the model as it is now.

Métodos

Request
public void Request()
interfaceThreadRefresh.Request()

Asks for the refresh.