-
Notifications
You must be signed in to change notification settings - Fork 43
Expand file tree
/
Copy pathIFileSystemAccessService.InProcess.cs
More file actions
37 lines (33 loc) · 3.16 KB
/
IFileSystemAccessService.InProcess.cs
File metadata and controls
37 lines (33 loc) · 3.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
using KristofferStrube.Blazor.FileSystem;
using Microsoft.JSInterop;
namespace KristofferStrube.Blazor.FileSystemAccess
{
public interface IFileSystemAccessServiceInProcess :
IFileSystemAccessService<
FileSystemFileHandleInProcess,
FileSystemDirectoryHandleInProcess,
IJSInProcessObjectReference
>
{
new Task<FileSystemDirectoryHandleInProcess> ShowDirectoryPickerAsync();
new Task<FileSystemDirectoryHandleInProcess> ShowDirectoryPickerAsync(DirectoryPickerOptionsStartInFileSystemHandle? directoryPickerOptions);
new Task<FileSystemDirectoryHandleInProcess> ShowDirectoryPickerAsync(DirectoryPickerOptionsStartInWellKnownDirectory? directoryPickerOptions);
/// <inheritdoc cref="IFileSystemAccessService{TFsFileHandle, TFsDirectoryHandle, TObjReference}.ShowOpenFilePickerAsync()" path="/summary"/>
/// <inheritdoc cref="IFileSystemAccessService{TFsFileHandle, TFsDirectoryHandle, TObjReference}.ShowOpenFilePickerAsync()" path="/exception"/>
/// <returns>A new <see cref="FileSystemDirectoryHandleInProcess"/>.</returns>
new Task<FileSystemFileHandleInProcess[]> ShowOpenFilePickerAsync();
/// <inheritdoc cref="IFileSystemAccessService{TFsFileHandle, TFsDirectoryHandle, TObjReference}.ShowOpenFilePickerAsync(OpenFilePickerOptionsStartInFileSystemHandle?)" path="/summary"/>
/// <inheritdoc cref="IFileSystemAccessService{TFsFileHandle, TFsDirectoryHandle, TObjReference}.ShowOpenFilePickerAsync(OpenFilePickerOptionsStartInWellKnownDirectory?)" path="/param"/>
/// <inheritdoc cref="IFileSystemAccessService{TFsFileHandle, TFsDirectoryHandle, TObjReference}.ShowOpenFilePickerAsync(OpenFilePickerOptionsStartInFileSystemHandle?)" path="/exception"/>
/// <returns>A new array of <see cref="FileSystemFileHandleInProcess"/>.</returns>
new Task<FileSystemFileHandleInProcess[]> ShowOpenFilePickerAsync(OpenFilePickerOptionsStartInFileSystemHandle? openFilePickerOptions);
/// <inheritdoc cref="IFileSystemAccessService{TFsFileHandle, TFsDirectoryHandle, TObjReference}.ShowOpenFilePickerAsync(OpenFilePickerOptionsStartInWellKnownDirectory?)" path="/summary"/>
/// <inheritdoc cref="IFileSystemAccessService{TFsFileHandle, TFsDirectoryHandle, TObjReference}.ShowOpenFilePickerAsync(OpenFilePickerOptionsStartInWellKnownDirectory?)" path="/param"/>
/// <inheritdoc cref="IFileSystemAccessService{TFsFileHandle, TFsDirectoryHandle, TObjReference}.ShowOpenFilePickerAsync(OpenFilePickerOptionsStartInWellKnownDirectory?)" path="/exception"/>
/// <returns>A new array of <see cref="FileSystemFileHandleInProcess"/>.</returns>
new Task<FileSystemFileHandleInProcess[]> ShowOpenFilePickerAsync(OpenFilePickerOptionsStartInWellKnownDirectory? openFilePickerOptions);
new Task<FileSystemFileHandleInProcess> ShowSaveFilePickerAsync();
new Task<FileSystemFileHandleInProcess> ShowSaveFilePickerAsync(SaveFilePickerOptionsStartInFileSystemHandle? saveFilePickerOptions);
new Task<FileSystemFileHandleInProcess> ShowSaveFilePickerAsync(SaveFilePickerOptionsStartInWellKnownDirectory? saveFilePickerOptions);
}
}