Soenneker.Extensions.NamedEntity
11.0.1352
Prefix Reserved
dotnet add package Soenneker.Extensions.NamedEntity --version 11.0.1352
NuGet\Install-Package Soenneker.Extensions.NamedEntity -Version 11.0.1352
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.NamedEntity" Version="11.0.1352" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Extensions.NamedEntity" Version="11.0.1352" />
<PackageReference Include="Soenneker.Extensions.NamedEntity" />
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.NamedEntity --version 11.0.1352
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Extensions.NamedEntity, 11.0.1352"
#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.NamedEntity@11.0.1352
#: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.NamedEntity&version=11.0.1352
#tool nuget:?package=Soenneker.Extensions.NamedEntity&version=11.0.1352
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Soenneker.Extensions.NamedEntity
Extension methods for projecting and transforming INamedEntity objects into compact identity and display models.
Installation
dotnet add package Soenneker.Extensions.NamedEntity
Usage
using Soenneker.Extensions.NamedEntity;
INamedEntity entity = GetEntity();
IdNamePair pair = entity.ToIdNamePair();
// pair.Id == entity.Id
// pair.Name == entity.Name
ToIdNamePair() creates a new object containing the current Id and Name; it does not retain a reference to the entity. The source must be non-null.
| Product | Versions 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.
-
net11.0
- Soenneker.Dtos.IdNamePair (>= 11.0.750)
- Soenneker.Entities.Named (>= 11.0.1303)
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.1352 | 181 | 11/11/2026 |
| 11.0.1351 | 81 | 11/11/2026 |
| 11.0.1350 | 84 | 11/11/2026 |
| 11.0.1349 | 91 | 11/11/2026 |
| 11.0.1348 | 84 | 11/10/2026 |
| 11.0.1347 | 363 | 11/3/2026 |
| 11.0.1346 | 129 | 10/30/2026 |
| 11.0.1345 | 142 | 10/27/2026 |
| 11.0.1344 | 102 | 10/26/2026 |
| 11.0.1343 | 95 | 10/26/2026 |
| 11.0.1342 | 101 | 10/26/2026 |
| 11.0.1341 | 100 | 10/26/2026 |
| 11.0.1340 | 97 | 10/26/2026 |
| 11.0.1339 | 96 | 10/26/2026 |
| 4.0.1338 | 652 | 10/15/2026 |
| 4.0.1337 | 102 | 10/14/2026 |
| 4.0.1334 | 106 | 10/14/2026 |
| 4.0.1333 | 108 | 10/14/2026 |
| 4.0.1332 | 100 | 10/14/2026 |
| 4.0.1323 | 105 | 10/13/2026 |
Loading failed
Updated Soenneker.Dtos.IdNamePair to 11.0.750