Vogen 4.0.5
Sorry, published as developer-only dependency. Please use 4.0.6
See the version list below for details.
dotnet add package Vogen --version 4.0.5
NuGet\Install-Package Vogen -Version 4.0.5
<PackageReference Include="Vogen" Version="4.0.5"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add Vogen --version 4.0.5
#r "nuget: Vogen, 4.0.5"
// Install Vogen as a Cake Addin #addin nuget:?package=Vogen&version=4.0.5 // Install Vogen as a Cake Tool #tool nuget:?package=Vogen&version=4.0.5
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.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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 is compatible. 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- No dependencies.
NuGet packages (11)
Showing the top 5 NuGet packages that depend on Vogen:
Package | Downloads |
---|---|
PiBox.Hosting.Abstractions
PiBox is a `service hosting framework` that allows `.net devs` to `decorate their services with behaviours or functionality (think of plugins) while only using minimal configuration`. |
|
Codehard.FileService.Contracts
An abstract contract for file service client and server. |
|
Vogen.Serialization
Provides serialization support between Vogen and Newtonsoft.Json |
|
HarvestForecast.Client
HarvestForecast.Client is an unofficial client library for the HarvestForecast API. Just add an access token and get started straight away! |
|
snkemp.Infrastructure
Package Description |
GitHub repositories (6)
Showing the top 5 popular GitHub repositories that depend on Vogen:
Repository | Stars |
---|---|
ardalis/CleanArchitecture
Clean Architecture Solution Template: A starting point for Clean Architecture with ASP.NET Core
|
|
JasperFx/marten
.NET Transactional Document DB and Event Store on PostgreSQL
|
|
thomhurst/TUnit
A modern, fast and flexible .NET testing framework
|
|
SteveDunn/Vogen
A semi-opinionated library which is a source generator and a code analyser. It Source generates Value Objects
|
|
SteveDunn/PacManBlazor
PACMAN in Blazor WebAssembly
|
Version | Downloads | Last updated | |
---|---|---|---|
7.0.0 | 1,580 | 2/13/2025 | |
7.0.0-beta.1 | 167 | 1/9/2025 | |
6.0.0 | 47,442 | 12/28/2024 | |
6.0.0-beta.4 | 58 | 12/27/2024 | |
6.0.0-beta.3 | 69 | 12/26/2024 | |
6.0.0-beta.2 | 132 | 12/3/2024 | |
6.0.0-beta.1 | 54 | 12/2/2024 | |
5.0.6 | 20,017 | 11/30/2024 | |
5.0.6-beta.3 | 146 | 11/23/2024 | |
5.0.6-beta.2 | 60 | 11/22/2024 | |
5.0.6-beta.1 | 62 | 11/19/2024 | |
5.0.5 | 34,329 | 11/14/2024 | |
5.0.5-rc.2 | 100 | 11/2/2024 | |
5.0.5-rc.1 | 52 | 11/1/2024 | |
5.0.5-beta.3 | 50 | 10/31/2024 | |
5.0.5-beta.2 | 65 | 10/27/2024 | |
5.0.4-beta.1 | 80 | 10/21/2024 | |
5.0.3 | 73,230 | 9/26/2024 | |
5.0.2 | 1,899 | 9/25/2024 | |
5.0.1 | 1,253 | 9/23/2024 | |
5.0.0-beta.1 | 340 | 9/9/2024 | |
4.0.19 | 19,906 | 8/21/2024 | |
4.0.18 | 1,062 | 8/17/2024 | |
4.0.17 | 18,003 | 8/6/2024 | |
4.0.16 | 1,987 | 7/30/2024 | |
4.0.15 | 31,516 | 7/20/2024 | |
4.0.14 | 8,643 | 7/16/2024 | |
4.0.13 | 2,874 | 7/13/2024 | |
4.0.12 | 18,502 | 6/21/2024 | |
4.0.11 | 713 | 6/20/2024 | |
4.0.10 | 849 | 6/19/2024 | |
4.0.9 | 1,423 | 6/18/2024 | |
4.0.8 | 24,924 | 5/30/2024 | |
4.0.7 | 691 | 5/29/2024 | |
4.0.6 | 7,913 | 5/27/2024 | |
4.0.5 | 509 | 5/26/2024 | |
4.0.4 | 8,252 | 5/11/2024 | |
4.0.3 | 3,041 | 5/8/2024 | |
4.0.2 | 7,660 | 4/30/2024 | |
4.0.1 | 486 | 4/29/2024 | |
4.0.0 | 12,176 | 4/19/2024 | |
3.0.25-beta.1 | 1,434 | 2/20/2024 | |
3.0.24 | 241,630 | 1/9/2024 | |
3.0.23 | 327,904 | 11/3/2023 | |
3.0.23-beta.2 | 86 | 11/1/2023 | |
3.0.23-beta.1 | 84 | 11/1/2023 | |
3.0.22 | 10,191 | 10/23/2023 | |
3.0.21 | 166,603 | 8/31/2023 | |
3.0.20 | 213,899 | 7/17/2023 | |
3.0.19 | 34,644 | 6/5/2023 | |
3.0.18 | 10,631 | 5/30/2023 | |
3.0.17 | 297 | 5/29/2023 | |
3.0.16 | 11,997 | 5/9/2023 | |
3.0.15 | 28,573 | 4/14/2023 | |
3.0.14 | 1,970 | 4/13/2023 | |
3.0.13 | 2,890 | 3/29/2023 | |
3.0.12 | 65,812 | 1/30/2023 | |
3.0.11 | 4,087 | 1/24/2023 | |
3.0.10 | 526 | 1/14/2023 | |
3.0.9 | 4,304 | 12/29/2022 | |
3.0.8 | 369 | 12/27/2022 | |
3.0.7 | 2,293 | 12/16/2022 | |
3.0.6 | 471 | 12/10/2022 | |
3.0.5 | 685 | 11/26/2022 | |
3.0.4 | 12,188 | 11/7/2022 | |
3.0.3 | 498 | 10/30/2022 | |
3.0.2-alpha.2 | 128 | 10/12/2022 | |
3.0.2-alpha | 135 | 10/11/2022 | |
3.0.1 | 625 | 10/8/2022 | |
2.0.5 | 957 | 9/29/2022 | |
2.0.4 | 446 | 9/28/2022 | |
2.0.3 | 4,506 | 7/27/2022 | |
2.0.2 | 478 | 7/27/2022 | |
1.0.25 | 1,153 | 7/25/2022 | |
1.0.24 | 508 | 7/24/2022 | |
1.0.23 | 519 | 7/21/2022 | |
1.0.22 | 1,549 | 6/18/2022 | |
1.0.21 | 1,998 | 5/13/2022 | |
1.0.20 | 566 | 5/3/2022 | |
1.0.19 | 545 | 4/25/2022 | |
1.0.18 | 13,415 | 2/21/2022 | |
1.0.17 | 490 | 2/6/2022 | |
1.0.16-alpha.1 | 156 | 1/29/2022 | |
1.0.15 | 1,153 | 1/2/2022 | |
1.0.12 | 347 | 12/28/2021 | |
1.0.11 | 316 | 12/28/2021 | |
1.0.9 | 1,744 | 12/11/2021 | |
1.0.8 | 344 | 12/6/2021 | |
1.0.7 | 335 | 12/5/2021 | |
1.0.6 | 887 | 12/3/2021 | |
1.0.5 | 335 | 12/2/2021 | |
1.0.4 | 307 | 12/2/2021 | |
1.0.3 | 334 | 12/1/2021 | |
1.0.2 | 332 | 12/1/2021 | |
1.0.1 | 1,086 | 12/1/2021 | |
1.0.1-alpha.0.2 | 159 | 12/1/2021 | |
0.0.0-alpha.0 | 160 | 1/2/2022 |