Soenneker.Zelos.Abstract
4.0.221
Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Soenneker.Zelos.Abstract --version 4.0.221
NuGet\Install-Package Soenneker.Zelos.Abstract -Version 4.0.221
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="Soenneker.Zelos.Abstract" Version="4.0.221" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Zelos.Abstract" Version="4.0.221" />
<PackageReference Include="Soenneker.Zelos.Abstract" />
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 Soenneker.Zelos.Abstract --version 4.0.221
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Zelos.Abstract, 4.0.221"
#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 Soenneker.Zelos.Abstract@4.0.221
#: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=Soenneker.Zelos.Abstract&version=4.0.221
#tool nuget:?package=Soenneker.Zelos.Abstract&version=4.0.221
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Soenneker.Zelos.Abstract
Defines the contract for a generic container storing documents in the Zelos database.
Install
dotnet add package Soenneker.Zelos.Abstract
Quick start
using Soenneker.Zelos.Abstract;
IZelosContainer zelosContainer = /* resolve from DI */;
var result = zelosContainer.BuildQueryable();
Builds queryable.
What you get
IZelosContainer— Defines the contract for a generic container storing documents in the Zelos database.IZelosDatabase— A lightweight, thread-safe asynchronous JSON-based document database.
API at a glance
| API | What it does | Result / important behavior |
|---|---|---|
IZelosContainer.AddItem(id, document, cancellationToken) |
Adds a document to the container. | The added document. |
IZelosContainer.GetItem(id) |
Retrieves a document by its ID. | The document if found, otherwise null. |
IZelosContainer.GetItemStrict(id) |
Retrieves a document by its ID, throwing an exception if not found. | The found document. |
IZelosContainer.UpdateItem(id, document, cancellationToken) |
Updates an existing document in the container. | A task whose result is the text returned by update Item. |
IZelosContainer.DeleteItem(id, cancellationToken) |
Deletes a document from the container. | Completes when the requested deletion has finished. |
IZelosContainer.GetAllItems() |
Retrieves all items in the container. | A list of all stored documents. |
IZelosDatabase.MarkDirty(containerName, cancellationToken) |
Marks a container as dirty, indicating it needs to be saved. Typically, is not needed to be called manually, but available. | A ValueTask representing the asynchronous operation. |
IZelosDatabase.GetContainer(containerName, cancellationToken) |
Retrieves container. | A ValueTask containing the requested ZelosContainer. |
IZelosDatabase.Save(cancellationToken) |
Saves any dirty containers to persistent storage if needed. Typically, is not needed to be called manually, but available. | A Task representing the asynchronous operation. |
IZelosDatabase.UnloadContainer(containerName, cancellationToken) |
Unloads the named container from the database. | true if the container was unloaded; otherwise, false. |
Practical notes
- Cancellation stops pending work; it does not undo work that has already completed.
- Dispose instances you own when their scope ends so held resources can be released.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Soenneker.Dtos.IdValuePair (>= 4.0.146)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Soenneker.Zelos.Abstract:
| Package | Downloads |
|---|---|
|
Soenneker.Zelos.Repository
A data persistence abstraction layer for Zelos DB |
|
|
Soenneker.Zelos.Container
Containers for the lightweight, file-based, thread-safe asynchronous JSON document database |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.227 | 211 | 9/30/2026 |
| 4.0.226 | 759 | 9/25/2026 |
| 4.0.225 | 90 | 9/24/2026 |
| 4.0.224 | 87 | 9/24/2026 |
| 4.0.223 | 569 | 9/15/2026 |
| 4.0.221 | 643 | 9/14/2026 |
| 4.0.218 | 3,182 | 8/30/2026 |
| 4.0.217 | 115 | 8/30/2026 |
| 4.0.216 | 97 | 8/30/2026 |
| 4.0.215 | 140 | 8/29/2026 |
| 4.0.214 | 104 | 8/29/2026 |
| 4.0.213 | 1,361 | 8/18/2026 |
| 4.0.212 | 2,108 | 7/28/2026 |
| 4.0.210 | 1,243 | 7/16/2026 |
| 4.0.209 | 152 | 7/16/2026 |
| 4.0.208 | 116 | 7/16/2026 |
| 4.0.207 | 1,984 | 6/19/2026 |
| 4.0.206 | 1,464 | 6/18/2026 |
| 4.0.205 | 120 | 6/18/2026 |
| 4.0.204 | 1,722 | 6/6/2026 |
Loading failed
Update dependency Soenneker.Dtos.IdValuePair to 4.0.146 (#796)