Soenneker.Extensions.Enumerable.Document
11.0.415
Prefix Reserved
dotnet add package Soenneker.Extensions.Enumerable.Document --version 11.0.415
NuGet\Install-Package Soenneker.Extensions.Enumerable.Document -Version 11.0.415
<PackageReference Include="Soenneker.Extensions.Enumerable.Document" Version="11.0.415" />
<PackageVersion Include="Soenneker.Extensions.Enumerable.Document" Version="11.0.415" />
<PackageReference Include="Soenneker.Extensions.Enumerable.Document" />
paket add Soenneker.Extensions.Enumerable.Document --version 11.0.415
#r "nuget: Soenneker.Extensions.Enumerable.Document, 11.0.415"
#:package Soenneker.Extensions.Enumerable.Document@11.0.415
#addin nuget:?package=Soenneker.Extensions.Enumerable.Document&version=11.0.415
#tool nuget:?package=Soenneker.Extensions.Enumerable.Document&version=11.0.415
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.2781)
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.415 | 59 | 12/3/2026 |
| 11.0.414 | 57 | 12/3/2026 |
| 11.0.413 | 52 | 12/2/2026 |
| 11.0.412 | 57 | 12/2/2026 |
| 11.0.411 | 50 | 12/2/2026 |
| 11.0.410 | 52 | 12/2/2026 |
| 11.0.409 | 55 | 12/2/2026 |
| 11.0.408 | 78 | 12/1/2026 |
| 11.0.407 | 73 | 12/1/2026 |
| 11.0.406 | 100 | 11/30/2026 |
| 11.0.404 | 99 | 11/29/2026 |
| 11.0.403 | 104 | 11/18/2026 |
| 11.0.400 | 106 | 11/15/2026 |
| 11.0.399 | 107 | 11/11/2026 |
| 11.0.397 | 106 | 11/11/2026 |
| 11.0.396 | 96 | 11/11/2026 |
| 11.0.395 | 101 | 11/11/2026 |
| 11.0.393 | 94 | 11/10/2026 |
| 11.0.392 | 91 | 11/10/2026 |
| 11.0.391 | 153 | 11/3/2026 |
Updated Multiple NuGet packages