Commit f7bc822
committed
[C#] Support DTO generation via system property.
Previously, you had to pass the `CSharpDtos` FQN as the
`TargetCodeGenerator` when running sbe-tool; however, that means the XML
schema was parsed multiple times, as DTOs depend on flyweights,
which seems wasteful. Therefore, I have introduced a system property,
`sbe.csharp.generate.dtos` that also controls the generation of DTOs
when targetting `CSharp`.1 parent e2706cd commit f7bc822
File tree
1 file changed
+18
-1
lines changed- sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/csharp
1 file changed
+18
-1
lines changedLines changed: 18 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
33 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
34 | 51 | | |
35 | 52 | | |
0 commit comments