TodoTxt.Library
1.0.0
dotnet add package TodoTxt.Library --version 1.0.0
NuGet\Install-Package TodoTxt.Library -Version 1.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="TodoTxt.Library" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TodoTxt.Library --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: TodoTxt.Library, 1.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.
// Install TodoTxt.Library as a Cake Addin #addin nuget:?package=TodoTxt.Library&version=1.0.0 // Install TodoTxt.Library as a Cake Tool #tool nuget:?package=TodoTxt.Library&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
TodoTxt.Library
Purpose
Provide a todo.txt format-compliant object representation of tasks and task lists.
Project Goals
- Provide a modern .NET implementation that improves on the ones used in Todotxt.net and TodoTxtLib.
- Fully implement the todo.txt format specifications.
- Include support for threshold date and arbitrary tags, on top of the standard todo.txt format specifications.
- Optimize classes for performance rather than in-memory footprint.
- Fully support data bindings, including sending notifications of property changes.
- Include exhaustive unit tests of the Task and TaskList objects.
- Target the .NET 5 for cross-platform support
Design Decisions
Task object
- Support a property indicating the Task's position in a file or list.
- Use regular expressions for todo.txt format parsing.
- Minimize re-running regular expression pattern matching unless the Task is modified. That is, class properties are saved to instance variables, rather than evaluated each time they are needed.
- Notify consumers of property changes, to support data binding.
- Provide methods for updating all properties.
- Do not provide methods for building tasks from component parts.
TaskList object
- Notify consumers of task list changes, by sending CollectionChanged notifications, to support data binding.
- Send CollectionChanged notifications when task properties are changed (for in-place modifications to the Task objects within the task list).
- Provide methods for reading/writing task list to file/stream.
- Support task list sorting.
- Support task list filtering.
FileBasedTaskList object
- Encapsulate methods for loading and saving todo.txt files.
- Encapsulate functionality for watching the todo.txt file for external modifications, and optionally reloading the file when it is externally modified.
- Support an optional auto-save function, triggered by changes to the task list.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net5.0
- No dependencies.
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 | 365 | 4/15/2021 |
# Version 1.0.0
Initial NuGet package release.