DogmaSolutions.DesignPatterns
7.0.893
dotnet add package DogmaSolutions.DesignPatterns --version 7.0.893
NuGet\Install-Package DogmaSolutions.DesignPatterns -Version 7.0.893
<PackageReference Include="DogmaSolutions.DesignPatterns" Version="7.0.893" />
<PackageVersion Include="DogmaSolutions.DesignPatterns" Version="7.0.893" />
<PackageReference Include="DogmaSolutions.DesignPatterns" />
paket add DogmaSolutions.DesignPatterns --version 7.0.893
#r "nuget: DogmaSolutions.DesignPatterns, 7.0.893"
#:package DogmaSolutions.DesignPatterns@7.0.893
#addin nuget:?package=DogmaSolutions.DesignPatterns&version=7.0.893
#tool nuget:?package=DogmaSolutions.DesignPatterns&version=7.0.893
DogmaSolutions.DesignPatterns
Reusable design pattern implementations: Builder, Command, Factory, State Machine, and Startable/Stoppable services.
Part of the Dogma Solutions "Foundation" project.
Features
- Builder pattern — generic builder base class for fluent object construction
- Startable/stoppable observable — observable services with start/stop lifecycle and state change notifications
- Transitional state machine — state machine with defined transition states for start/stop operations
- Start/stop exceptions — dedicated exception types for lifecycle transition failures
Supported Frameworks and Platforms
| Target | Notes |
|---|---|
| .NET Standard 2.0 | Broad compatibility |
| .NET 8.0 | LTS |
| .NET 9.0 | STS |
| .NET 10.0 | Current |
Runs on all platforms supported by .NET: Windows, Linux, and macOS.
Dependencies
This library builds on several other "Foundation" packages:
- DogmaSolutions.Tasking — async/threading utilities for lifecycle management
- DogmaSolutions.PrimitiveTypes — primitive type extensions and helpers
Installation
dotnet add package DogmaSolutions.DesignPatterns
License
See the "Foundation" repository for license details.
| 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 is compatible. 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 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. |
| .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
- DogmaSolutions.PrimitiveTypes (>= 7.0.893)
- DogmaSolutions.Tasking (>= 7.0.893)
- Lindhart.Analyser.MissingAwaitWarning (>= 3.2.0)
- Microsoft.CodeAnalysis (>= 5.9.0)
- System.Text.Encodings.Web (>= 8.0.0)
-
net10.0
- DogmaSolutions.PrimitiveTypes (>= 7.0.893)
- DogmaSolutions.Tasking (>= 7.0.893)
- Lindhart.Analyser.MissingAwaitWarning (>= 3.2.0)
- Microsoft.CodeAnalysis (>= 5.9.0)
-
net8.0
- DogmaSolutions.PrimitiveTypes (>= 7.0.893)
- DogmaSolutions.Tasking (>= 7.0.893)
- Lindhart.Analyser.MissingAwaitWarning (>= 3.2.0)
- Microsoft.CodeAnalysis (>= 5.9.0)
-
net9.0
- DogmaSolutions.PrimitiveTypes (>= 7.0.893)
- DogmaSolutions.Tasking (>= 7.0.893)
- Lindhart.Analyser.MissingAwaitWarning (>= 3.2.0)
- Microsoft.CodeAnalysis (>= 5.9.0)
NuGet packages (5)
Showing the top 5 NuGet packages that depend on DogmaSolutions.DesignPatterns:
| Package | Downloads |
|---|---|
|
DogmaSolutions.Services
Service infrastructure: service container, startable/stoppable services, and discovery-based service registration. |
|
|
DogmaSolutions.StateMachines
Configurable finite state machine with async state processing, error handling, and health checking. |
|
|
DogmaSolutions.Devices.I40
Industry 4.0 abstractions: machine supervisors, plant supervisors, and transitional state machine supervisors. |
|
|
DogmaSolutions.Data.Sql
ADO.NET utilities: connection management, parameterized commands, SQL query building, and diagnostics. |
|
|
DogmaSolutions.DesignPatterns.Tests
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 7.0.893 | 144 | 8/27/2026 |
| 6.1.350 | 741 | 4/15/2026 |
| 6.1.346 | 1,244 | 12/3/2025 |
| 6.1.345 | 973 | 11/20/2025 |
| 6.0.344 | 1,740 | 11/19/2025 |
| 6.0.343 | 773 | 11/19/2025 |
| 6.0.342 | 986 | 11/7/2025 |
| 6.0.341 | 701 | 11/7/2025 |
| 6.0.340 | 772 | 10/29/2025 |
| 6.0.337 | 750 | 10/17/2025 |
| 6.0.336 | 718 | 10/17/2025 |
| 5.1.337 | 731 | 11/7/2025 |
| 5.1.336 | 682 | 11/7/2025 |
| 5.1.335 | 790 | 10/29/2025 |
| 5.1.334 | 808 | 10/16/2025 |
| 5.0.335 | 748 | 10/29/2025 |
| 4.6.343 | 499 | 7/3/2026 |
| 4.5.335 | 644 | 10/29/2025 |
| 4.4.328 | 613 | 10/29/2025 |