FastQuant.FileInstrumentServer.Load C# (CSharp) 메소드

Load() 공개 메소드

public Load ( ) : InstrumentList
리턴 InstrumentList
        public override InstrumentList Load()
        {
            this.instruments.Clear();
            foreach (var key in this.dataFile.Keys.Values)
            {
                if (key.TypeId == ObjectType.Instrument)
                {
                    var instrument = (Instrument)this.dataFile.Get(key.Name);
                    this.instruments.Add(instrument);
                }
            }
            return this.instruments;
        }