public async Task <FileInfo> AddFileCopy(DumpIdentifier id, FileInfo file, SDFileType type) { var newFile = await storage.AddFileCopy(id, file); AddSDFile(id, file.Name, type); return(newFile); }
private void AddSDFile(DumpIdentifier id, string filename, SDFileType type) { var dumpInfo = Get(id); dumpInfo.Files.Add(new SDFileEntry() { FileName = filename, Type = type }); storage.Store(dumpInfo); }
private void AddSDFile(string bundleId, string dumpId, string filename, SDFileType type) { var dumpInfo = Get(bundleId, dumpId); dumpInfo.Files.Add(new SDFileEntry() { FileName = filename, Type = type }); storage.Store(dumpInfo); }
public void AddFile(DumpIdentifier id, string filename, SDFileType type) { AddSDFile(id, filename, type); }
internal void AddFile(string bundleId, string dumpId, string filename, SDFileType type) { AddSDFile(bundleId, dumpId, filename, type); }
internal async Task AddFileCopy(string bundleId, string dumpId, FileInfo file, SDFileType type) { await storage.AddFileCopy(bundleId, dumpId, file); AddSDFile(bundleId, dumpId, file.Name, type); }
internal async Task <FileInfo> AddFileCopy(string bundleId, string dumpId, FileInfo file, SDFileType type) { var newFile = await storage.AddFileCopy(bundleId, dumpId, file); AddSDFile(bundleId, dumpId, file.Name, type); return(newFile); }