Soenneker.Extensions.Enumerable.Document 4.0.330

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Soenneker.Extensions.Enumerable.Document --version 4.0.330
                    
NuGet\Install-Package Soenneker.Extensions.Enumerable.Document -Version 4.0.330
                    
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="4.0.330" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Extensions.Enumerable.Document" Version="4.0.330" />
                    
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 4.0.330
                    
#r "nuget: Soenneker.Extensions.Enumerable.Document, 4.0.330"
                    
#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@4.0.330
                    
#: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=4.0.330
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Extensions.Enumerable.Document&version=4.0.330
                    
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 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.

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
4.0.331 74 8/31/2026
4.0.330 78 8/31/2026
4.0.329 78 8/31/2026
4.0.328 75 8/30/2026
4.0.327 74 8/30/2026
4.0.326 84 8/30/2026
4.0.325 73 8/30/2026
4.0.324 75 8/30/2026
4.0.323 79 8/30/2026
4.0.322 75 8/30/2026
4.0.321 76 8/29/2026
4.0.320 80 8/29/2026
4.0.319 79 8/26/2026
4.0.318 74 8/26/2026
4.0.317 78 8/26/2026
4.0.316 88 8/25/2026
4.0.315 87 8/22/2026
4.0.314 95 8/18/2026
4.0.313 90 8/18/2026
4.0.312 90 8/12/2026
Loading failed

Update dependency Soenneker.Documents.Document to 4.0.2701 (#714)