internal bool AddItem(TradeAsset asset) { if (!this.Assets.Contains(asset)) { this.Assets.Add(asset); return(true); } return(false); }
internal bool AddCurrencyItem(TradeAsset asset) { if (!Currency.Contains(asset)) { Currency.Add(asset); return(true); } return(false); }
internal bool RemoveItem(TradeAsset asset) { return(this.Assets.Contains(asset) && this.Assets.Remove(asset)); }
internal bool RemoveCurrencyItem(TradeAsset asset) { return(this.Currency.Contains(asset) && this.Currency.Remove(asset)); }
public bool ContainsItem(TradeAsset asset) { return(this.Assets.Contains(asset)); }