/// <summary> /// </summary> /// <param name="entryId"></param> /// <param name="entry"></param> /// <exception cref="NotImplementedException"></exception> public void AddEntry(int entryId, CacheFile entry) { var binaryFileEntry = entry.ToBinaryFile(); if (binaryFileEntry.Info == null) { binaryFileEntry.Info = new CacheFileInfo(); } binaryFileEntry.Info.Index = this.Info.Index; binaryFileEntry.Info.FileId = this.Info.FileId; binaryFileEntry.Info.EntryId = entryId; this._entries.Add(entryId, binaryFileEntry); }