CodeWriter and pain

This commit is contained in:
ThomasCharester committed 2026-01-20 20:38:20 +03:00
1 parent a409054750
commit 85ac63425c
89 files changed
+1439 -1461

No files matched your search

@@ -1,26 +1,26 @@
using System.Collections.Generic;
using Entities;
namespace InfraGens.Sample;
public class Examples
{
// Create generated entities, based on DDD.UbiquitousLanguageRegistry.txt
public object[] CreateEntities()
{
return new object[]
{
new Customer(),
new Employee(),
new Product(),
new Shop(),
new Stock()
};
}
// Execute generated method Report
public IEnumerable<string> CreateEntityReport(SampleEntity entity)
{
return entity.Report();
}
}
// using System.Collections.Generic;
// using Entities;
//
// namespace InfraGens.Sample;
//
// public class Examples
// {
// // Create generated entities, based on DDD.UbiquitousLanguageRegistry.txt
// public object[] CreateEntities()
// {
// return new object[]
// {
// new Customer(),
// new Employee(),
// new Product(),
// new Shop(),
// new Stock()
// };
// }
//
// // Execute generated method Report
// public IEnumerable<string> CreateEntityReport(SampleEntity entity)
// {
// return entity.Report();
// }
// }