Files
Infratest/Assets/SourceGeneration/InfraGens~/InfraGens/InfraGens.Sample/Examples.cs
T
2026-01-20 16:59:57 +03:00

26 lines
567 B
C#

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();
}
}