FastQuant.DataSeries.Init C# (CSharp) Méthode

Init() private méthode

private Init ( DataFile file, ObjectKey key ) : void
file DataFile
key ObjectKey
Résultat void
        internal void Init(DataFile file, ObjectKey key)
        {
            lock (Sync)
            {
                this.file = file;
                this.key = key;
                key.CompressionLevel = 0;
                key.CompressionMethod = 0;

                // Init dataKey list
                if (this.cachePosition == -1)
                {
                    this.cache = new IdArray<DataKey>(Math.Max(4096, this.bufferCount));
                    this.cacheKey = new ObjectKey(file, "", new DataKeyIdArray(this.cache));
                }
            }
        }