Add code generation.

Replaces the client and server controller implementations with generated code from the shared project.
This commit is contained in:
2020-03-13 20:16:53 +01:00
parent 7bd44091cf
commit 42bca48742
29 changed files with 542 additions and 499 deletions

View File

@@ -12,4 +12,17 @@
<PackageReference Include="Z.ExtensionMethods" Version="2.1.1" />
</ItemGroup>
<ItemGroup>
<None Update="Routes.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>Routes.cs</LastGenOutput>
</None>
</ItemGroup>
<ItemGroup>
<Compile Update="Routes.cs">
<DependentUpon>Routes.tt</DependentUpon>
</Compile>
</ItemGroup>
</Project>