Found 275 packages
A micro library for easily creating C# classes with value semantics. No need to override Equals, GetHashCode, et all.
CSharpFunctionalExtensions - functional extensions for C#
C# Source Generator to create value-object, inspired by units of measure.
Declare Value Objects in one line e.g. `class ClientRef : ValueOf<string, ClientRef> { }`), create using `ClientRef.From(someString)` The base Type ValueOf<TValue, TThis>, provides Equals, GetHashcode. Use ValueTuples for multi property values e.g `class Address : ValueOf<(string firstLine, string secondLine, Postcode postcode), Address> {}`
A value object implementation.
Quickly and efficiently implement the Equals and GetHashCode for value objects
DotNetCore.Domain
A libary that provides serializer support for System.Text.Json for value objects.
Implementation of Domain Driven Design Value Object in .NET
https://github.com/vkhorikov/CSharpFunctionalExtensions
ValueObject with exceptions and validators
Package Description
An example shared kernel project/package for use with Ardalis.CleanArchitecture template. You should probably replace this with your own package!
A libary that provides serializer support for MongoDB for value objects.
A libary that provides serializer support for LiteDB for value objects.
This package contains a Souce Generator which generates Value Objects that wrap simple primitives such as int, string, double etc. A ValueObject is a strongly typed (strongly, not stringly) domain object that is immutable. Instead of `int customerId = 42;` we have `var customerId = CustomerId.From(42);` To use, just create something like this: [ValueObject(typeof(int))] public partial struct CustomerId { } var customerId = CustomerId.From(42); Validation is in just one place. You can't introduce bad objects into your domain, therefore you can assume that in your domain every ValueObject is valid.
A libary that provides serializer support for EF Core for value objects.
.NET library that provide mainly functional features for C#. This means concept of Option, Result, Either and ValueObject. Supported platforms: - .NET Standard 1.0+ - .NET Core 1.0+ - .NET Framework 2.0+ Supports Source Link
An implementation of ValueObject.
C# DDD Domain Layer