Remove unused GetUnderlyingStream method

This commit is contained in:
Dean Herbert 2020-03-24 14:08:25 +09:00
parent 546772192c
commit 68ebe98fde
5 changed files with 0 additions and 10 deletions

View File

@ -236,8 +236,6 @@ public override void Dispose()
}
public override IEnumerable<string> Filenames => new[] { "test_file.osr" };
public override Stream GetUnderlyingStream() => new MemoryStream();
}
}
}

View File

@ -45,7 +45,5 @@ public async Task<byte[]> GetAsync(string name)
return buffer;
}
}
public abstract Stream GetUnderlyingStream();
}
}

View File

@ -28,7 +28,5 @@ public override void Dispose()
}
public override IEnumerable<string> Filenames => Directory.GetFiles(path, "*", SearchOption.AllDirectories).Select(f => f.Replace(path, string.Empty).Trim(Path.DirectorySeparatorChar)).ToArray();
public override Stream GetUnderlyingStream() => null;
}
}

View File

@ -28,7 +28,5 @@ public override void Dispose()
}
public override IEnumerable<string> Filenames => new[] { Name };
public override Stream GetUnderlyingStream() => null;
}
}

View File

@ -45,7 +45,5 @@ public override void Dispose()
}
public override IEnumerable<string> Filenames => archive.Entries.Select(e => e.Key).ExcludeSystemFileNames();
public override Stream GetUnderlyingStream() => archiveStream;
}
}