Soenneker.Dtos.IdNameValueIndex 4.0.770

Prefix Reserved
dotnet add package Soenneker.Dtos.IdNameValueIndex --version 4.0.770
                    
NuGet\Install-Package Soenneker.Dtos.IdNameValueIndex -Version 4.0.770
                    
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.Dtos.IdNameValueIndex" Version="4.0.770" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Dtos.IdNameValueIndex" Version="4.0.770" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Dtos.IdNameValueIndex" />
                    
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.Dtos.IdNameValueIndex --version 4.0.770
                    
#r "nuget: Soenneker.Dtos.IdNameValueIndex, 4.0.770"
                    
#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.Dtos.IdNameValueIndex@4.0.770
                    
#: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.Dtos.IdNameValueIndex&version=4.0.770
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Dtos.IdNameValueIndex&version=4.0.770
                    
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

Soenneker.Dtos.IdNameValueIndex

A small DTO for carrying an identifier, display name, optional value, and optional string index. It supports both System.Text.Json and Newtonsoft.Json with the same JSON property names.

Install

dotnet add package Soenneker.Dtos.IdNameValueIndex

Usage

using Soenneker.Dtos.IdNameValueIndex;

var option = new IdNameValueIndex
{
    Id = "standard",
    Name = "Standard shipping",
    Value = "ground",
    Index = "2"
};

The serialized shape is:

{
  "id": "standard",
  "name": "Standard shipping",
  "value": "ground",
  "index": "2"
}

Id and Name are inherited from IdNamePair; Value is inherited from IdNameValue. Value and Index are nullable. Index is a string, so callers can preserve non-numeric or formatted index values without conversion.

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.770 42 9/25/2026
4.0.769 37 9/24/2026
4.0.768 41 9/24/2026
4.0.767 98 9/15/2026
4.0.766 89 9/15/2026
4.0.765 86 9/15/2026
4.0.764 97 9/12/2026
4.0.763 89 9/12/2026
4.0.762 87 9/12/2026
4.0.761 113 8/30/2026
4.0.760 96 8/30/2026
4.0.758 118 8/18/2026
4.0.757 108 8/18/2026
4.0.756 119 7/28/2026
4.0.755 114 7/28/2026
4.0.754 107 7/28/2026
4.0.753 126 7/27/2026
4.0.752 117 7/16/2026
4.0.751 113 7/16/2026
4.0.750 124 6/19/2026
Loading failed

Updated NuGet packages