DailyFolder.Implementation
1.0.0
dotnet add package DailyFolder.Implementation --version 1.0.0
NuGet\Install-Package DailyFolder.Implementation -Version 1.0.0
<PackageReference Include="DailyFolder.Implementation" Version="1.0.0" />
<PackageVersion Include="DailyFolder.Implementation" Version="1.0.0" />
<PackageReference Include="DailyFolder.Implementation" />
paket add DailyFolder.Implementation --version 1.0.0
#r "nuget: DailyFolder.Implementation, 1.0.0"
#:package DailyFolder.Implementation@1.0.0
#addin nuget:?package=DailyFolder.Implementation&version=1.0.0
#tool nuget:?package=DailyFolder.Implementation&version=1.0.0
Install nuget package: DailyFolder.Implementation
Then, in your code, add the following using statement:
using DailyFolder.Implementation;
Then, you can create an instance of the DailyFolder class and use its methods to manage your daily folders. For example:
var folderFactory = new DailyFolderFactory(); var folder = folderFactory.Create("C:\p\tmp\dailyfolder-root"); folder.WriteAllText("log.txt", "Hello, DailyFolder!");
This will create a daily folder structure under "C:\p\tmp\dailyfolder-root" and write the text "Hello, DailyFolder!" to a file named "log.txt" within the appropriate daily folder. The DailyFolder class will automatically handle the creation of the necessary folders based on the current date.
If you want to specify a different date for the folder creation, you can use the DailyFolderFactorySettings to configure the behavior. For example:
var settings = new DailyFolderFactorySettings { FolderValidation = FolderValidationOption.BelowRoot, CurrentDate = CurrentDateOption.Specified, Date = new DateOnly(1999, 1, 1) }; var oldFolder = folderFactory.Create("C:\p\tmp\dailyfolder-root", settings); oldFolder.WriteAllText("readme.txt", "test002");
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- DailyFolder.Abstraction (>= 1.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 110 | 2/19/2026 |