protected void processReadFiles(ReadFinishedHandler readFinishedHandler) { this.JsDuck = null; this.ProcessingInfo.StageIndex = 4; this.ProcessingInfo.StageName = "Reading source directory json files."; this.Reader.ReadJsonTypesDirectories( this.progressHandlerReadFiles, readFinishedHandler ); }
protected internal void ReadJsonTypesDirectories( readProgressHandler progressHandler, ReadFinishedHandler readFinishedHandler ) { this.progressHandler = progressHandler; this.readFinishedHandler = readFinishedHandler; this.packageIndex = 0; this.allReadFilesCount = 0; foreach (PackageSource pkgSrc in this.processor.Store.PackagesData) { this.allReadFilesCount += pkgSrc.JsonDataCount; } this.readNextJsonTypesDir(); }