mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-07-25 18:38:14 +02:00
IFileSystem: Removed ArgumentException from documented list of exceptions that implementations are expected to use
This commit is contained in:
parent
ac3fecdccf
commit
6cab13c1c9
1 changed files with 0 additions and 10 deletions
|
@ -6,66 +6,56 @@ namespace Utilities
|
|||
{
|
||||
public interface IFileSystem
|
||||
{
|
||||
/// <exception cref="System.ArgumentException"></exception>
|
||||
/// <exception cref="System.IO.DirectoryNotFoundException"></exception>
|
||||
/// <exception cref="System.IO.FileNotFoundException"></exception>
|
||||
/// <exception cref="System.IO.IOException"></exception>
|
||||
/// <exception cref="System.UnauthorizedAccessException"></exception>
|
||||
FileSystemEntry GetEntry(string path);
|
||||
|
||||
/// <exception cref="System.ArgumentException"></exception>
|
||||
/// <exception cref="System.IO.DirectoryNotFoundException"></exception>
|
||||
/// <exception cref="System.IO.IOException"></exception>
|
||||
/// <exception cref="System.UnauthorizedAccessException"></exception>
|
||||
FileSystemEntry CreateFile(string path);
|
||||
|
||||
/// <exception cref="System.ArgumentException"></exception>
|
||||
/// <exception cref="System.IO.DirectoryNotFoundException"></exception>
|
||||
/// <exception cref="System.IO.IOException"></exception>
|
||||
/// <exception cref="System.UnauthorizedAccessException"></exception>
|
||||
FileSystemEntry CreateDirectory(string path);
|
||||
|
||||
/// <exception cref="System.ArgumentException"></exception>
|
||||
/// <exception cref="System.IO.DirectoryNotFoundException"></exception>
|
||||
/// <exception cref="System.IO.FileNotFoundException"></exception>
|
||||
/// <exception cref="System.IO.IOException"></exception>
|
||||
/// <exception cref="System.UnauthorizedAccessException"></exception>
|
||||
void Move(string source, string destination);
|
||||
|
||||
/// <exception cref="System.ArgumentException"></exception>
|
||||
/// <exception cref="System.IO.DirectoryNotFoundException"></exception>
|
||||
/// <exception cref="System.IO.FileNotFoundException"></exception>
|
||||
/// <exception cref="System.IO.IOException"></exception>
|
||||
/// <exception cref="System.UnauthorizedAccessException"></exception>
|
||||
void Delete(string path);
|
||||
|
||||
/// <exception cref="System.ArgumentException"></exception>
|
||||
/// <exception cref="System.IO.DirectoryNotFoundException"></exception>
|
||||
/// <exception cref="System.IO.IOException"></exception>
|
||||
/// <exception cref="System.UnauthorizedAccessException"></exception>
|
||||
List<FileSystemEntry> ListEntriesInDirectory(string path);
|
||||
|
||||
/// <exception cref="System.ArgumentException"></exception>
|
||||
/// <exception cref="System.IO.DirectoryNotFoundException"></exception>
|
||||
/// <exception cref="System.IO.FileNotFoundException"></exception>
|
||||
/// <exception cref="System.IO.IOException"></exception>
|
||||
/// <exception cref="System.UnauthorizedAccessException"></exception>
|
||||
List<KeyValuePair<string, ulong>> ListDataStreams(string path);
|
||||
|
||||
/// <exception cref="System.ArgumentException"></exception>
|
||||
/// <exception cref="System.IO.DirectoryNotFoundException"></exception>
|
||||
/// <exception cref="System.IO.FileNotFoundException"></exception>
|
||||
/// <exception cref="System.IO.IOException"></exception>
|
||||
/// <exception cref="System.UnauthorizedAccessException"></exception>
|
||||
Stream OpenFile(string path, FileMode mode, FileAccess access, FileShare share, FileOptions options);
|
||||
|
||||
/// <exception cref="System.ArgumentException"></exception>
|
||||
/// <exception cref="System.IO.FileNotFoundException"></exception>
|
||||
/// <exception cref="System.IO.IOException"></exception>
|
||||
/// <exception cref="System.UnauthorizedAccessException"></exception>
|
||||
void SetAttributes(string path, bool? isHidden, bool? isReadonly, bool? isArchived);
|
||||
|
||||
/// <exception cref="System.ArgumentException"></exception>
|
||||
/// <exception cref="System.IO.FileNotFoundException"></exception>
|
||||
/// <exception cref="System.IO.IOException"></exception>
|
||||
/// <exception cref="System.UnauthorizedAccessException"></exception>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue