Kae.XTUML.Tools.Generator.CodeOfDomainModel.Csharp 4.0.0

dotnet add package Kae.XTUML.Tools.Generator.CodeOfDomainModel.Csharp --version 4.0.0
NuGet\Install-Package Kae.XTUML.Tools.Generator.CodeOfDomainModel.Csharp -Version 4.0.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="4.0.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 4.0.0
#r "nuget: Kae.XTUML.Tools.Generator.CodeOfDomainModel.Csharp, 4.0.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=4.0.0

// Install Kae.XTUML.Tools.Generator.CodeOfDomainModel.Csharp as a Cake Tool
#tool nuget:?package=Kae.XTUML.Tools.Generator.CodeOfDomainModel.Csharp&version=4.0.0

Domain Model Code Generator for C#

Generator library that generate from BridgePoint domain model to C# Application Library running in memory.

How to use

  1. Create conceptual information model for your conceptual domain according to the style of eXecutable and Translatable UML modeling.
  2. Generate application library from the model. Please see Sample Generator Application.
  3. Or GUI Application. Please see GUI Application.

※ You can use BrdigePoint MicrowaveOven, LaundromatInHotel or ProcessManagement 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.


Built in your generator tool.

User can use Generator library as NuGet package.


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.
  • Generate action code of function, transformer, entry action and methematical attribute
  • Generate wrapper class of each External Entity
    • TIM C# implementation can be used.
  • Generate adaptor class for other domain implementation
Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.0 307 12/24/2022
3.1.1 285 12/12/2022
3.1.0 291 12/12/2022
3.0.0 325 11/10/2022
2.1.0 365 10/30/2022
2.0.0 359 10/29/2022
1.3.0 373 9/30/2022
1.2.1 383 9/5/2022
1.2.0 369 9/3/2022
1.1.0 406 9/2/2022
1.0.1 384 8/30/2022
1.0.0 359 8/29/2022
0.7.0 412 8/8/2022
0.6.0 391 8/5/2022
0.5.0 400 8/5/2022
0.4.1 390 7/24/2022
0.4.0 405 7/20/2022
0.3.2 425 7/7/2022
0.3.1 409 7/6/2022
0.3.0 416 7/6/2022
0.2.3 393 7/5/2022
0.2.2 428 7/3/2022
0.2.1 438 7/1/2022
0.2.0 402 6/29/2022
0.1.0 397 6/24/2022
0.0.1 399 6/24/2022