Masterly.NonEmptyList
1.0.0
See the version list below for details.
dotnet add package Masterly.NonEmptyList --version 1.0.0
NuGet\Install-Package Masterly.NonEmptyList -Version 1.0.0
<PackageReference Include="Masterly.NonEmptyList" Version="1.0.0" />
<PackageVersion Include="Masterly.NonEmptyList" Version="1.0.0" />
<PackageReference Include="Masterly.NonEmptyList" />
paket add Masterly.NonEmptyList --version 1.0.0
#r "nuget: Masterly.NonEmptyList, 1.0.0"
#:package Masterly.NonEmptyList@1.0.0
#addin nuget:?package=Masterly.NonEmptyList&version=1.0.0
#tool nuget:?package=Masterly.NonEmptyList&version=1.0.0
A simple and lightweight implementation of a non-empty list in C#, inspired by Scala's `List`, that ensures a collection always has at least one item. This helps in reducing null-related bugs and ensures safe operations on collections with at least one element.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
-
net6.0
- No dependencies.
NuGet packages (7)
Showing the top 5 NuGet packages that depend on Masterly.NonEmptyList:
| Package | Downloads |
|---|---|
|
Masterly.NonEmptyList.EntityFrameworkCore
Entity Framework Core integration for Masterly.NonEmptyList. Provides value converters, comparers, relationship configuration, and query extensions to seamlessly store and retrieve NonEmptyList and ImmutableNonEmptyList collections in your database. |
|
|
Masterly.NonEmptyList.AspNetCore
ASP.NET Core integration for Masterly.NonEmptyList: OpenAPI schema transformer that emits minItems/minLength/uniqueItems for every non-empty type, Validation-to-HTTP result helpers that turn accumulated errors into RFC 7807 validation problem details, and ModelState helpers for MVC. |
|
|
Masterly.NonEmptyList.Configuration
Microsoft.Extensions.Configuration and Options integration for Masterly.NonEmptyList. Binds NonEmptyList, NonEmptySet, NonEmptyDictionary, ConstrainedList and NonEmptyString properties from configuration (arrays or comma-separated values) and fails at startup, naming the key, when a required collection is empty or missing. |
|
|
Masterly.NonEmptyList.Dapper
Dapper type handlers for Masterly.NonEmptyList. Stores NonEmptyList, ImmutableNonEmptyList, NonEmptySet, ConstrainedList and NonEmptyDictionary columns as JSON text and NonEmptyString as text, rejecting empty values when reading. |
|
|
Masterly.NonEmptyList.Testing
Test support for Masterly.NonEmptyList: CsCheck generators for every non-empty type, an AutoFixture customization, and the published law suite (functor, monad, fold and structural laws) so property-based tests can verify your own code and extensions. |
GitHub repositories
This package is not used by any popular GitHub repositories.