Kae.XTUML.Tools.Generator.CodeOfDomainModel.Csharp
0.3.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Kae.XTUML.Tools.Generator.CodeOfDomainModel.Csharp --version 0.3.0
NuGet\Install-Package Kae.XTUML.Tools.Generator.CodeOfDomainModel.Csharp -Version 0.3.0
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="Kae.XTUML.Tools.Generator.CodeOfDomainModel.Csharp" Version="0.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Kae.XTUML.Tools.Generator.CodeOfDomainModel.Csharp --version 0.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Kae.XTUML.Tools.Generator.CodeOfDomainModel.Csharp, 0.3.0"
#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.
// Install Kae.XTUML.Tools.Generator.CodeOfDomainModel.Csharp as a Cake Addin #addin nuget:?package=Kae.XTUML.Tools.Generator.CodeOfDomainModel.Csharp&version=0.3.0 // Install Kae.XTUML.Tools.Generator.CodeOfDomainModel.Csharp as a Cake Tool #tool nuget:?package=Kae.XTUML.Tools.Generator.CodeOfDomainModel.Csharp&version=0.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Domain Model Code Generator for C#
Generator library that generate from BridgePoint domain model to C# Application Library running in memory.
How to use
- Create conceptual information model for your conceptual domain according to the style of eXecutable and Translatable UML modeling.
- Generate application library from the model. Please see Sample Generator Application.
※ You can use BrdigePoint MicrowaveOven or LaundromatInHotel as a sample model. ※ Generated DTDL schemas of LaundromatInHotel are published at https://github.com/kae-made/artifacts-laundromat-in-hotel-tutorial/tree/main/code/csharp/LaundromatInHotel.
Overview of Translation Rule
- Generate an interface, base implement class for each class
- Generate an state machine class for each class with state model
- For each element of each class
xtUML | -> | C# |
---|---|---|
class | -> | DomainClass<i>ClassName</i>, DomainClass<i>ClassName</i>Base(, DomainClass<i>ClassName</i>StateMachine) |
attribute | -> | property |
event | -> | DomainClass<i>ClassName</i>StateMachine.<i>EventName</i> |
operation | -> | methods of DomainClass<i>ClassName</i> |
- Relationships are defined in the DomainClass<i>ClassName</i> interface as reference instance, get linked instances, link and unlink method.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. 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 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net5.0
- Kae.Tools.Generator (>= 2.0.5)
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.1 | 91 | 9/26/2024 |
4.0.0 | 333 | 12/24/2022 |
3.1.1 | 297 | 12/12/2022 |
3.1.0 | 318 | 12/12/2022 |
3.0.0 | 348 | 11/10/2022 |
2.1.0 | 387 | 10/30/2022 |
2.0.0 | 371 | 10/29/2022 |
1.3.0 | 400 | 9/30/2022 |
1.2.1 | 409 | 9/5/2022 |
1.2.0 | 394 | 9/3/2022 |
1.1.0 | 440 | 9/2/2022 |
1.0.1 | 413 | 8/30/2022 |
1.0.0 | 382 | 8/29/2022 |
0.7.0 | 439 | 8/8/2022 |
0.6.0 | 417 | 8/5/2022 |
0.5.0 | 430 | 8/5/2022 |
0.4.1 | 446 | 7/24/2022 |
0.4.0 | 431 | 7/20/2022 |
0.3.2 | 459 | 7/7/2022 |
0.3.1 | 435 | 7/6/2022 |
0.3.0 | 441 | 7/6/2022 |
0.2.3 | 420 | 7/5/2022 |
0.2.2 | 456 | 7/3/2022 |
0.2.1 | 463 | 7/1/2022 |
0.2.0 | 427 | 6/29/2022 |
0.1.0 | 428 | 6/24/2022 |
0.0.1 | 425 | 6/24/2022 |