public void Add_Suppresses_Collection_Changed_Notifications() { var stringA = "aaaaa"; var stringB = "bbbbb"; var stringC = "ccccc"; var sut = new SuperObservableCollection <string>(); int notifications = 0; sut.CollectionChanged += (sender, args) => { notifications++; }; sut.Add(stringA, true); sut.Add(stringB, true); sut.Add(stringC, true); Assert.Equal(0, notifications); }
private void ClientRemote_MarkAdded(TradingStationMark mark) { ClientTradingStationMarksList.Add(mark); }