FastQuant.PortfolioManager.Read C# (CSharp) Méthode

Read() private méthode

private Read ( BinaryReader reader ) : void
reader System.IO.BinaryReader
Résultat void
        internal void Read(BinaryReader reader)
        {
            int count = reader.ReadInt32();
            for (int i = 0; i < count; i++)
            {
                var portfolio = (Portfolio)this.framework.StreamerManager.Deserialize(reader);
                // TODO: more strict visibility
                portfolio.framework = this.framework;
                Add(portfolio, true);
            }
        }