/// <summary> /// Check if the given symbol is delisted or not. /// </summary> /// <param name="symbolKey">The <see cref="SymbolKey"/> to identify the symbol.</param> /// <returns>True if symbol is new. Otherwise False.</returns> public bool HasChanges(SymbolKey symbolKey) { return(_existingSymbolsMap.ContainsKey(symbolKey) && !_downloadedSymbolsMap.ContainsKey(symbolKey)); }
/// <summary> /// Add Symbol to changeset to be delisted /// </summary> /// <param name="symbolKey">The <see cref="SymbolKey"/> to identify the symbol.</param> public void AddChange(SymbolKey symbolKey) { _delistedSymbolIds.Add(_existingSymbolsMap[symbolKey].Id); }