public SaveEntry CreateEntry(EntryId entryId) { SaveEntry saveEntry = SaveEntry.CreateNew(this, entryId); this.AddEntry(saveEntry); return(saveEntry); }
public static SaveEntry CreateNew(SaveEntryFolder parentFolder, EntryId entryId) => new SaveEntry() { Id = entryId, FolderId = parentFolder.GlobalId };
public static SaveEntry CreateFrom(int entryFolderId, EntryId entryId, byte[] data) => new SaveEntry() { FolderId = entryFolderId, Id = entryId, _data = data };
public SaveEntry GetEntry(EntryId entryId) => this._entries[entryId];