internal void ApplyInternal(StockDeleted deleted) { foreach (var t in BuyOrSell) { Deletes.Add(t.Id); } StateUpdateLoop(); }
internal void Apply(StockDeleted deleted) { this.Owned = 0; this.Cost = 0; this.LastPurchase = null; this.LastSale = null; this.Transactions.Clear(); this.Buys.Clear(); this.Sells.Clear(); this.AverageCost = 0; }
private void ApplyInternal(StockDeleted deleted) { this.State.Apply(deleted); }