Oakrey.Applications.FileParsing 7.0.0

dotnet add package Oakrey.Applications.FileParsing --version 7.0.0
                    
NuGet\Install-Package Oakrey.Applications.FileParsing -Version 7.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Oakrey.Applications.FileParsing" Version="7.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Oakrey.Applications.FileParsing" Version="7.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Oakrey.Applications.FileParsing" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Oakrey.Applications.FileParsing --version 7.0.0
                    
#r "nuget: Oakrey.Applications.FileParsing, 7.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Oakrey.Applications.FileParsing@7.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Oakrey.Applications.FileParsing&version=7.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Oakrey.Applications.FileParsing&version=7.0.0
                    
Install as a Cake Tool

Oakrey.Applications.FileParsing

Base infrastructure for reactive file parsing in .NET 10 Windows applications.

Features

  • Parses the file selected by an IFileBrowsingService.
  • Publishes the current parsed instance through FileParsed.
  • Cancels an older selection load when a newer file is selected.
  • Prevents an older parse result from replacing a newer selection.
  • Supports optional startup loading through IPreLoadable.
  • Publishes preload failures through the existing IObservable<PreLoadingException>.
  • Logs with format placeholders and separate arguments.
  • Keeps detailed exceptions in logs while user prompts contain generic messages.

Dependencies

  • Oakrey.Applications.Abstractions
  • Oakrey.Applications.FileBrowsing.Abstractions
  • Oakrey.Applications.UserPrompts.Abstractions
  • Oakrey.Disposables 3.0.0
  • Oakrey.Log.Abstractions 3.0.0
  • System.Reactive 6.1.0

Extending the parser

public sealed class DocumentService(
    IAutoLoadServiceSettings settings,
    IFileBrowsingService browser,
    IUserPrompter<DocumentService> prompter)
    : FileParsingServiceBase<Document>(settings, browser, prompter)
{
    protected override string FileType => "Document";

    protected override Task<Document> ParseFile(
        FileInfo file,
        CancellationToken cancellationToken)
    {
        return Document.LoadAsync(file, cancellationToken);
    }
}

IsFilePathCorrect reports whether the currently selected path exists. Parse success is represented independently by a non-null Instance.

Interface note

The repository currently also contains an unreferenced FileParsing.Abstractions project with a duplicate IFileParsingService<T>. It is intentionally not merged here because moving the interface would change its assembly identity and requires an explicit compatibility decision.

License

MIT. Copyright (c) Oakrey 2016-present.

Product Compatible and additional computed target framework versions.
.NET net10.0-windows7.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Oakrey.Applications.FileParsing:

Package Downloads
Oakrey.Applications.FileParsing.DBC

Specialized file parsing library for DBC (CAN database) files. Built on FileParsing framework with automatic parsing into DbcMatrix objects, reactive updates, and extended file management. Features CAN message/signal access, template support, and seamless integration with Oakrey.DBC parser.

Oakrey.Applications.FileParsing.LDF

Specialized file parsing library for LDF (LIN Description File) files. Built on FileParsing framework with automatic parsing into LdfMatrix objects, reactive updates, and extended file management. Features LIN frame/signal access, schedule tables, template support, and seamless integration with Oakrey.LDF parser.

Oakrey.Applications.FileParsing.Ini

Specialized file parsing library for INI configuration files. Built on FileParsing framework with automatic parsing, reactive updates, and file browsing integration. Features auto-load support, observable patterns, and seamless integration with Oakrey.Files INI reader.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
7.0.0 104 7/20/2026
6.0.2 114 7/8/2026
6.0.1 108 7/3/2026
6.0.0 131 5/22/2026
2.0.0 119 5/22/2026
1.0.1 142 3/13/2026
1.0.0 125 3/11/2026