Example #1
0
 private void MarketTimeChangedHandler(TimeSpan diff)
 {
     AddGuiAction(() => MarketTimeChanged.SafeInvoke(diff));
 }
Example #2
0
 /// <summary>
 /// To call the event <see cref="Connector.MarketTimeChanged"/>.
 /// </summary>
 /// <param name="diff">The difference in the time since the last call of the event. The first time the event passes the <see cref="TimeSpan.Zero"/> value.</param>
 private void RaiseMarketTimeChanged(TimeSpan diff)
 {
     MarketTimeChanged.SafeInvoke(diff);
 }