Soenneker.Extensions.Documents.Named
11.0.393
Prefix Reserved
dotnet add package Soenneker.Extensions.Documents.Named --version 11.0.393
NuGet\Install-Package Soenneker.Extensions.Documents.Named -Version 11.0.393
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.Documents.Named" Version="11.0.393" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Extensions.Documents.Named" Version="11.0.393" />
<PackageReference Include="Soenneker.Extensions.Documents.Named" />
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.Documents.Named --version 11.0.393
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Extensions.Documents.Named, 11.0.393"
#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.Documents.Named@11.0.393
#: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.Documents.Named&version=11.0.393
#tool nuget:?package=Soenneker.Extensions.Documents.Named&version=11.0.393
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Soenneker.Extensions.Documents.Named
Extension methods for projecting and transforming documents that implement INamedDocument, especially when callers need compact identity and display data.
Installation
dotnet add package Soenneker.Extensions.Documents.Named
Usage
using Soenneker.Extensions.Documents.Named;
INamedDocument document = GetDocument();
IdNamePair pair = document.ToIdNamePair();
// pair.Id == document.Id
// pair.Name == document.Name
ToIdNamePair() always creates a new IdNamePair; later changes to the document are not reflected in the pair. Passing null throws ArgumentNullException.
| 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.Documents.Named (>= 11.0.2816)
- Soenneker.Dtos.IdNamePair (>= 11.0.750)
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.393 | 132 | 11/11/2026 |
| 11.0.392 | 85 | 11/11/2026 |
| 11.0.391 | 80 | 11/11/2026 |
| 11.0.390 | 74 | 11/11/2026 |
| 11.0.389 | 83 | 11/11/2026 |
| 11.0.388 | 81 | 11/10/2026 |
| 11.0.387 | 78 | 11/10/2026 |
| 11.0.386 | 276 | 11/3/2026 |
| 11.0.385 | 100 | 11/2/2026 |
| 11.0.384 | 103 | 10/30/2026 |
| 11.0.383 | 122 | 10/27/2026 |
| 11.0.382 | 104 | 10/26/2026 |
| 11.0.381 | 94 | 10/26/2026 |
| 11.0.380 | 92 | 10/26/2026 |
| 11.0.379 | 98 | 10/26/2026 |
| 11.0.378 | 97 | 10/26/2026 |
| 4.0.377 | 489 | 10/15/2026 |
| 4.0.376 | 95 | 10/15/2026 |
| 4.0.375 | 101 | 10/14/2026 |
| 4.0.374 | 105 | 10/14/2026 |
Loading failed
Updated Soenneker.Documents.Named to 11.0.2816