public void Move(Vcf destination, Action<IFileLocation, IFileLocation> move) { move(VcfFile, destination.VcfFile); if (TabixIndex.Exists) move(TabixIndex, destination.TabixIndex); }
public Vcf Move(IFileLocation newPath, Action<IFileLocation, IFileLocation> move) { var newVcf = new Vcf(newPath); Move(newVcf, move); return newVcf; }