Oakrey.Applications.FileBrowsing
7.0.0
dotnet add package Oakrey.Applications.FileBrowsing --version 7.0.0
NuGet\Install-Package Oakrey.Applications.FileBrowsing -Version 7.0.0
<PackageReference Include="Oakrey.Applications.FileBrowsing" Version="7.0.0" />
<PackageVersion Include="Oakrey.Applications.FileBrowsing" Version="7.0.0" />
<PackageReference Include="Oakrey.Applications.FileBrowsing" />
paket add Oakrey.Applications.FileBrowsing --version 7.0.0
#r "nuget: Oakrey.Applications.FileBrowsing, 7.0.0"
#:package Oakrey.Applications.FileBrowsing@7.0.0
#addin nuget:?package=Oakrey.Applications.FileBrowsing&version=7.0.0
#tool nuget:?package=Oakrey.Applications.FileBrowsing&version=7.0.0
Oakrey.Applications.FileBrowsing
File browsing and selection management for .NET 10 Windows applications.
Features
- Enumerates files with a configurable search pattern.
- Optionally searches subfolders without following reparse points.
- Skips inaccessible nested folders.
- Sorts file results deterministically.
- Persists the selected file and publishes selection changes.
- Logs through placeholder-based
Oakrey.Logmessages. - Includes a WPF
PathToNameConverter.
Dependencies
Oakrey.Applications.FileBrowsing.Abstractions7.0.0Oakrey.Log.Abstractions3.0.0Oakrey.ViewModels3.0.0System.Reactive6.1.0
These packages are direct dependencies because their types are used directly by the implementation.
Installation
dotnet add package Oakrey.Applications.FileBrowsing
Usage
services.AddSingleton<IFileBrowsingServiceSettings, CsvBrowsingSettings>();
services.AddSingleton<IFileBrowsingService, FileBrowsingService>();
using IDisposable subscription = browser.SelectedFileChanged.Subscribe(file =>
{
Console.WriteLine(file?.Name ?? "No file selected");
});
foreach (FileInfo file in browser.AvailableFiles)
{
Console.WriteLine(file.Name);
}
Use a simple file pattern such as *.csv. Recursion is controlled independently by
IncludeSubFolders; a **/ prefix is not required.
Safety notes
- Recursive enumeration skips files and directories marked as reparse points.
- Full browsing paths are not written to routine log messages.
- Invalid or inaccessible folders result in an empty list and a warning log.
- Duplicate folder and selection values do not publish redundant notifications.
License
MIT. Copyright (c) Oakrey 2016-present.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0-windows7.0 is compatible. |
-
net10.0-windows7.0
- Oakrey.Applications.FileBrowsing.Abstractions (>= 7.0.0)
- Oakrey.Log.Abstractions (>= 3.0.0)
- Oakrey.ViewModels (>= 3.0.0)
- System.Reactive (>= 6.1.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Oakrey.Applications.FileBrowsing:
| Package | Downloads |
|---|---|
|
Oakrey.Applications.FileBrowsing.Extended
Extended file browsing library with file management operations. Adds create, delete, edit file capabilities with built-in user prompts and confirmations. Features customizable file templates, Windows Explorer integration, and comprehensive error handling. Extends Oakrey.Applications.FileBrowsing. |
GitHub repositories
This package is not used by any popular GitHub repositories.