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
                    
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.Extensions.Enumerable.Document" Version="11.0.415" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Extensions.Enumerable.Document" Version="11.0.415" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Extensions.Enumerable.Document" />
                    
Project file
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.Extensions.Enumerable.Document --version 11.0.415
                    
#r "nuget: Soenneker.Extensions.Enumerable.Document, 11.0.415"
                    
#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.Extensions.Enumerable.Document@11.0.415
                    
#: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.Extensions.Enumerable.Document&version=11.0.415
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Extensions.Enumerable.Document&version=11.0.415
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

alternate text is missing from this package README image 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 Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
Loading failed

Updated Multiple NuGet packages