private void RaiseSecuritiesChanged(Security[] securities) { SecuritiesChanged?.Invoke(securities); var evt = SecurityChanged; if (evt == null) { return; } foreach (var security in securities) { evt(security); } }
private void RaiseSecurityChanged(Security security) { SecurityChanged?.Invoke(security); SecuritiesChanged?.Invoke(new[] { security }); }
public static void OnSecuritiesChanged(CurrencyNumber oldValue, CurrencyNumber newValue) => SecuritiesChanged?.Invoke(oldValue, newValue);
private void RealTraderOnSecuritiesChanged(IEnumerable <Security> securities) { SecuritiesChanged?.Invoke(this, new SecuritiesEventArgs(securities)); }