Class SymbolTranslationCollection
- Namespace
- Balsam.DataServers
- Assembly
- Balsam.Backtester.dll
Encapsulates a collection of symbol translations.
public class SymbolTranslationCollection : KeyedCollection<string, SymbolTranslation>, IList<SymbolTranslation>, ICollection<SymbolTranslation>, IReadOnlyList<SymbolTranslation>, IReadOnlyCollection<SymbolTranslation>, IEnumerable<SymbolTranslation>, IList, ICollection, IEnumerable
- Inheritance
-
SymbolTranslationCollection
- Implements
- Inherited Members
- Extension Methods
Constructors
SymbolTranslationCollection()
Creates a new symbol translation collection.
public SymbolTranslationCollection()
Methods
GetKeyForItem(SymbolTranslation)
Returns the new symbol for use as the key.
protected override string GetKeyForItem(SymbolTranslation item)
Parameters
item
SymbolTranslation
Returns
Load(string)
Loads the specified symbol translation collection xml file.
public static SymbolTranslationCollection Load(string fileName)
Parameters
fileName
string
Returns
Save(string)
Persists this SymbolTranslationCollection to the specified file.
public void Save(string fileName)
Parameters
fileName
string