HAKOM.Persistence.FileSystem.Net.Api Namespace
Contains the public API surface of the HAKOM file-system persistence module.
Remarks
Section titled “Remarks”The primary type in this namespace is:
- IDefaultResourcePathProvider — Enumerates the default file-system directories where the application searches for resources. Implementations are platform-aware and resolve paths on both Windows and Linux.
To create instances without the DI container, use the static factory methods on IDefaultResourcePathProvider:
IDefaultResourcePathProvider provider = IDefaultResourcePathProvider.FromLocations( new[] { @"C:\MyApp\Resources", @"C:\Shared\HAKOM" });
await foreach (string path in provider.GetPaths()){ Console.WriteLine(path);}| Interfaces | |
|---|---|
| IDefaultResourcePathProvider | Provides an ordered sequence of file-system directories where the application searches for resources such as configuration files, templates, and license files. |
Was this page helpful?Thanks for your feedback!