WIP FileSelector
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
namespace Toolkit.Foundation;
|
||||
|
||||
public record FileFilter(string Name, List<string> Extensions, bool AllowMultiple = false);
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace Toolkit.Foundation;
|
||||
|
||||
public interface IFileSelector
|
||||
{
|
||||
Task<IEnumerable<string>> SelectFiles(FileFilter filter);
|
||||
}
|
||||
Reference in New Issue
Block a user