Soenneker.Extensions.Enumerable.Document
11.0.391
Prefix Reserved
dotnet add package Soenneker.Extensions.Enumerable.Document --version 11.0.391
NuGet\Install-Package Soenneker.Extensions.Enumerable.Document -Version 11.0.391
<PackageReference Include="Soenneker.Extensions.Enumerable.Document" Version="11.0.391" />
<PackageVersion Include="Soenneker.Extensions.Enumerable.Document" Version="11.0.391" />
<PackageReference Include="Soenneker.Extensions.Enumerable.Document" />
paket add Soenneker.Extensions.Enumerable.Document --version 11.0.391
#r "nuget: Soenneker.Extensions.Enumerable.Document, 11.0.391"
#:package Soenneker.Extensions.Enumerable.Document@11.0.391
#addin nuget:?package=Soenneker.Extensions.Enumerable.Document&version=11.0.391
#tool nuget:?package=Soenneker.Extensions.Enumerable.Document&version=11.0.391
Soenneker.Extensions.Enumerable.Document
ID projection and lookup extensions for sequences of IDocument values.
Installation
dotnet add package Soenneker.Extensions.Enumerable.Document
Project IDs
using Soenneker.Documents.Document.Abstract;
using Soenneker.Extensions.Enumerable.Document;
IEnumerable<IDocument> documents = GetDocuments();
List<string> ids = documents.ToIds();
ToIds() creates a new list in source order. Duplicate IDs are preserved, documents are not cloned or modified, and a null source returns an empty list. The source is enumerated once; known counts are used only to pre-size the result.
Find an ID
bool contains = documents.ContainsId("document-42");
ContainsId() stops at the first match and returns false for a null source. Comparison uses the string == operator, which is ordinal and case-sensitive for non-null strings. The sequence must not contain null document entries; accessing a null element fails.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Soenneker.Documents.Document (>= 11.0.2757)
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 |
|---|---|---|
| 11.0.391 | 120 | 11/3/2026 |
| 11.0.390 | 83 | 11/3/2026 |
| 11.0.389 | 93 | 11/2/2026 |
| 11.0.388 | 108 | 10/27/2026 |
| 11.0.387 | 95 | 10/26/2026 |
| 11.0.386 | 96 | 10/26/2026 |
| 11.0.385 | 96 | 10/26/2026 |
| 4.0.384 | 136 | 10/15/2026 |
| 4.0.383 | 100 | 10/15/2026 |
| 4.0.382 | 93 | 10/14/2026 |
| 4.0.381 | 102 | 10/14/2026 |
| 4.0.380 | 100 | 10/14/2026 |
| 4.0.379 | 103 | 10/14/2026 |
| 4.0.378 | 99 | 10/14/2026 |
| 4.0.372 | 101 | 10/12/2026 |
| 4.0.370 | 96 | 10/12/2026 |
| 4.0.369 | 99 | 10/12/2026 |
| 4.0.368 | 104 | 10/11/2026 |
| 4.0.367 | 106 | 10/11/2026 |
| 4.0.366 | 111 | 10/11/2026 |
Updated Multiple NuGet packages