Skip to content

Commit 09c47f8

Browse files
committed
Tests and examples updated
1 parent e9793e0 commit 09c47f8

File tree

80 files changed

+236
-87
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+236
-87
lines changed

Examples/Angular/ServiceFromAspNetCoreAnnotation/ClientApp/src/app/services/weather-forecast.service.ts

Lines changed: 0 additions & 46 deletions
This file was deleted.

Examples/Angular/ServiceFromSignalRViaFluentApi.sln

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio Version 16
44
VisualStudioVersion = 16.0.30709.132
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServiceFromSignalRViaFluentApi", "ServiceFromSignalRViaFluentApi\ServiceFromSignalRViaFluentApi.csproj", "{64BA4FE5-358C-4D3B-A142-C158684BB35C}"
6+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ServiceFromSignalRViaFluentApi", "ServiceFromSignalRViaFluentApi\Service\ServiceFromSignalRViaFluentApi.csproj", "{64BA4FE5-358C-4D3B-A142-C158684BB35C}"
7+
EndProject
8+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Generator", "ServiceFromSignalRViaFluentApi\Generator\Generator.csproj", "{13AEBDE4-A1A8-4508-9CB6-7CBD78013E56}"
79
EndProject
810
Global
911
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -15,6 +17,10 @@ Global
1517
{64BA4FE5-358C-4D3B-A142-C158684BB35C}.Debug|Any CPU.Build.0 = Debug|Any CPU
1618
{64BA4FE5-358C-4D3B-A142-C158684BB35C}.Release|Any CPU.ActiveCfg = Release|Any CPU
1719
{64BA4FE5-358C-4D3B-A142-C158684BB35C}.Release|Any CPU.Build.0 = Release|Any CPU
20+
{13AEBDE4-A1A8-4508-9CB6-7CBD78013E56}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
21+
{13AEBDE4-A1A8-4508-9CB6-7CBD78013E56}.Debug|Any CPU.Build.0 = Debug|Any CPU
22+
{13AEBDE4-A1A8-4508-9CB6-7CBD78013E56}.Release|Any CPU.ActiveCfg = Release|Any CPU
23+
{13AEBDE4-A1A8-4508-9CB6-7CBD78013E56}.Release|Any CPU.Build.0 = Release|Any CPU
1824
EndGlobalSection
1925
GlobalSection(SolutionProperties) = preSolution
2026
HideSolutionNode = FALSE
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFramework>net5.0</TargetFramework>
5+
</PropertyGroup>
6+
7+
<ItemGroup>
8+
<PackageReference Include="KY.Generator" Version="6.7.1" />
9+
<PackageReference Include="KY.Generator.Angular" Version="6.7.1" />
10+
<PackageReference Include="KY.Generator.AspDotNet" Version="6.7.1" />
11+
<PackageReference Include="KY.Generator.Fluent" Version="6.7.1" />
12+
<PackageReference Include="KY.Generator.Reflection" Version="6.7.1" />
13+
</ItemGroup>
14+
15+
<ItemGroup>
16+
<ProjectReference Include="..\Service\ServiceFromSignalRViaFluentApi.csproj" />
17+
</ItemGroup>
18+
19+
</Project>
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
using KY.Generator;
2+
using ServiceFromSignalRViaFluentApi.Hubs;
3+
4+
namespace Generator
5+
{
6+
public class GeneratorMain : GeneratorFluentMain
7+
{
8+
public override void Execute()
9+
{
10+
this.Read()
11+
.FromHub<WeatherForecastHub>()
12+
.Write()
13+
.AngularServices().OutputPath("../Service/ClientApp/src/app/services")
14+
.AngularModel().OutputPath("../Service/ClientApp/src/app/models");
15+
}
16+
}
17+
}

0 commit comments

Comments
 (0)