Soenneker.Extensions.Enumerable.Entities 4.0.196

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

Projects and searches the complete Id values of IEntity sequences.

Installation

dotnet add package Soenneker.Extensions.Enumerable.Entities

Project IDs

using Soenneker.Entities.Entity.Abstract;
using Soenneker.Extensions.Enumerable.Entities;

IEnumerable<IEntity> entities = GetEntities();
List<string> ids = entities.ToIds();

ToIds() immediately creates a new list in source order. Duplicate IDs and compound IDs such as partition:document are preserved exactly; this package does not split them. A null source returns an empty list. Known collection counts are used only for capacity, and the source is visited once.

Find an ID

bool found = entities.ContainsId("customer-42:order-100");

ContainsId() performs an ordinal, case-sensitive comparison and stops at the first match. It returns false when the source is null or the requested ID is null or empty. Entity elements themselves must be non-null.

To extract the partition and document portions of an individual compound entity ID, use Soenneker.Extensions.Entities.

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.198 33 9/4/2026
4.0.197 92 8/31/2026
4.0.196 93 8/30/2026
4.0.195 80 8/30/2026
4.0.194 76 8/30/2026
4.0.193 80 8/30/2026
4.0.192 77 8/30/2026
4.0.191 81 8/29/2026
4.0.190 82 8/29/2026
4.0.189 119 8/26/2026
4.0.188 98 8/25/2026
4.0.187 337 8/12/2026
4.0.186 185 7/28/2026
4.0.185 102 7/28/2026
4.0.184 104 7/28/2026
4.0.183 106 7/27/2026
4.0.182 102 7/27/2026
4.0.181 162 7/18/2026
4.0.180 100 7/18/2026
4.0.179 100 7/18/2026
Loading failed

Update dependency Soenneker.Extensions.Enumerable to 4.0.657 (#562)