Skip to content

Commit f229663

Browse files
committed
Tests and examples updated
1 parent 610721f commit f229663

File tree

54 files changed

+211
-90
lines changed

Some content is hidden

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

54 files changed

+211
-90
lines changed

Examples/Angular/ModelFromAssembly/ModelFromAssembly.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="KY.Generator" Version="6.7.3" />
10-
<PackageReference Include="KY.Generator.Annotations" Version="6.7.3" />
9+
<PackageReference Include="KY.Generator" Version="6.7.4" />
10+
<PackageReference Include="KY.Generator.Annotations" Version="6.7.4" />
1111
</ItemGroup>
1212

1313
</Project>

Examples/Angular/ModelFromAssembly/Output/another-type.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ------------------------------------------------------------------------------
22
// <auto-generated>
3-
// This code was generated with KY.Generator 6.7.3.0
3+
// This code was generated with KY.Generator 6.7.4.0
44
//
55
// Manual changes to this file may cause unexpected behavior in your application.
66
// Manual changes to this file will be overwritten if the code is regenerated.

Examples/Angular/ModelFromAssembly/Output/type-to-read.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ------------------------------------------------------------------------------
22
// <auto-generated>
3-
// This code was generated with KY.Generator 6.7.3.0
3+
// This code was generated with KY.Generator 6.7.4.0
44
//
55
// Manual changes to this file may cause unexpected behavior in your application.
66
// Manual changes to this file will be overwritten if the code is regenerated.

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ------------------------------------------------------------------------------
22
// <auto-generated>
3-
// This code was generated with KY.Generator 6.7.3.0
3+
// This code was generated with KY.Generator 6.7.4.0
44
//
55
// Manual changes to this file may cause unexpected behavior in your application.
66
// Manual changes to this file will be overwritten if the code is regenerated.

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

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ------------------------------------------------------------------------------
22
// <auto-generated>
3-
// This code was generated with KY.Generator 6.7.3.0
3+
// This code was generated with KY.Generator 6.7.4.0
44
//
55
// Manual changes to this file may cause unexpected behavior in your application.
66
// Manual changes to this file will be overwritten if the code is regenerated.
@@ -30,7 +30,9 @@ export class WeatherForecastService {
3030
let subject = new Subject<WeatherForecast[]>();
3131
this.http.get<WeatherForecast[]>(this.serviceUrl + "/weatherforecast", httpOptions).subscribe((result) => {
3232
if (result) {
33-
result.forEach((entry) => entry.date = this.convertToDate(entry.date));
33+
result.forEach((entry) => {
34+
entry.date = this.convertToDate(entry.date);
35+
});
3436
}
3537
subject.next(result);
3638
subject.complete();

Examples/Angular/ServiceFromAspNetCoreAnnotation/ServiceFromAspNetCoreAnnotation.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
</PropertyGroup>
1515

1616
<ItemGroup>
17-
<PackageReference Include="KY.Generator" Version="6.7.3" />
18-
<PackageReference Include="KY.Generator.Annotations" Version="6.7.3" />
17+
<PackageReference Include="KY.Generator" Version="6.7.4" />
18+
<PackageReference Include="KY.Generator.Annotations" Version="6.7.4" />
1919
<PackageReference Include="Microsoft.AspNetCore.SpaServices.Extensions" Version="3.1.7" />
2020
</ItemGroup>
2121

Examples/Angular/ServiceFromAspNetCoreSignalRHub/ClientApp/src/app/models/connection-status.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ------------------------------------------------------------------------------
22
// <auto-generated>
3-
// This code was generated with KY.Generator 6.7.3.0
3+
// This code was generated with KY.Generator 6.7.4.0
44
//
55
// Manual changes to this file may cause unexpected behavior in your application.
66
// Manual changes to this file will be overwritten if the code is regenerated.

Examples/Angular/ServiceFromAspNetCoreSignalRHub/ClientApp/src/app/models/weather-forecast.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ------------------------------------------------------------------------------
22
// <auto-generated>
3-
// This code was generated with KY.Generator 6.7.3.0
3+
// This code was generated with KY.Generator 6.7.4.0
44
//
55
// Manual changes to this file may cause unexpected behavior in your application.
66
// Manual changes to this file will be overwritten if the code is regenerated.

Examples/Angular/ServiceFromAspNetCoreSignalRHub/ClientApp/src/app/services/weather-hub.service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ------------------------------------------------------------------------------
22
// <auto-generated>
3-
// This code was generated with KY.Generator 6.7.3.0
3+
// This code was generated with KY.Generator 6.7.4.0
44
//
55
// Manual changes to this file may cause unexpected behavior in your application.
66
// Manual changes to this file will be overwritten if the code is regenerated.

Examples/Angular/ServiceFromAspNetCoreSignalRHub/ServiceFromAspNetCoreSignalRHub.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
</PropertyGroup>
1515

1616
<ItemGroup>
17-
<PackageReference Include="KY.Generator" Version="6.7.3" />
18-
<PackageReference Include="KY.Generator.Annotations" Version="6.7.3" />
17+
<PackageReference Include="KY.Generator" Version="6.7.4" />
18+
<PackageReference Include="KY.Generator.Annotations" Version="6.7.4" />
1919
<PackageReference Include="Microsoft.AspNetCore.SignalR" Version="1.1.0" />
2020
<PackageReference Include="Microsoft.AspNetCore.SpaServices.Extensions" Version="3.1.7" />
2121
</ItemGroup>

Examples/Angular/ServiceFromAspNetCoreViaFluentApi/Generator/Generator.csproj

+5-5
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
</PropertyGroup>
66

77
<ItemGroup>
8-
<PackageReference Include="KY.Generator" Version="6.7.3" />
9-
<PackageReference Include="KY.Generator.Angular" Version="6.7.3" />
10-
<PackageReference Include="KY.Generator.AspDotNet" Version="6.7.3" />
11-
<PackageReference Include="KY.Generator.Fluent" Version="6.7.3" />
12-
<PackageReference Include="KY.Generator.Reflection" Version="6.7.3" />
8+
<PackageReference Include="KY.Generator" Version="6.7.4" />
9+
<PackageReference Include="KY.Generator.Angular" Version="6.7.4" />
10+
<PackageReference Include="KY.Generator.AspDotNet" Version="6.7.4" />
11+
<PackageReference Include="KY.Generator.Fluent" Version="6.7.4" />
12+
<PackageReference Include="KY.Generator.Reflection" Version="6.7.4" />
1313
</ItemGroup>
1414

1515
<ItemGroup>

Examples/Angular/ServiceFromAspNetCoreViaFluentApi/Service/ClientApp/src/app/models/weather-forecast.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ------------------------------------------------------------------------------
22
// <auto-generated>
3-
// This code was generated with KY.Generator 6.7.3.0
3+
// This code was generated with KY.Generator 6.7.4.0
44
//
55
// Manual changes to this file may cause unexpected behavior in your application.
66
// Manual changes to this file will be overwritten if the code is regenerated.

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

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ------------------------------------------------------------------------------
22
// <auto-generated>
3-
// This code was generated with KY.Generator 6.7.3.0
3+
// This code was generated with KY.Generator 6.7.4.0
44
//
55
// Manual changes to this file may cause unexpected behavior in your application.
66
// Manual changes to this file will be overwritten if the code is regenerated.
@@ -30,7 +30,9 @@ export class WeatherForecastService {
3030
let subject = new Subject<WeatherForecast[]>();
3131
this.http.get<WeatherForecast[]>(this.serviceUrl + "/weatherforecast", httpOptions).subscribe((result) => {
3232
if (result) {
33-
result.forEach((entry) => entry.date = this.convertToDate(entry.date));
33+
result.forEach((entry) => {
34+
entry.date = this.convertToDate(entry.date);
35+
});
3436
}
3537
subject.next(result);
3638
subject.complete();

Examples/Angular/ServiceFromSignalRViaFluentApi/Generator/Generator.csproj

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
</PropertyGroup>
66

77
<ItemGroup>
8-
<PackageReference Include="KY.Generator" Version="6.7.3" />
9-
<PackageReference Include="KY.Generator.Angular" Version="6.7.3" />
8+
<PackageReference Include="KY.Generator" Version="6.7.4" />
9+
<PackageReference Include="KY.Generator.Angular" Version="6.7.4" />
1010
<PackageReference Include="KY.Generator.AspDotNet" Version="6.7.1" />
11-
<PackageReference Include="KY.Generator.Fluent" Version="6.7.3" />
12-
<PackageReference Include="KY.Generator.Reflection" Version="6.7.3" />
11+
<PackageReference Include="KY.Generator.Fluent" Version="6.7.4" />
12+
<PackageReference Include="KY.Generator.Reflection" Version="6.7.4" />
1313
</ItemGroup>
1414

1515
<ItemGroup>

Examples/Angular/ServiceFromSignalRViaFluentApi/Service/ClientApp/src/app/models/connection-status.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ------------------------------------------------------------------------------
22
// <auto-generated>
3-
// This code was generated with KY.Generator 6.7.3.0
3+
// This code was generated with KY.Generator 6.7.4.0
44
//
55
// Manual changes to this file may cause unexpected behavior in your application.
66
// Manual changes to this file will be overwritten if the code is regenerated.

Examples/Angular/ServiceFromSignalRViaFluentApi/Service/ClientApp/src/app/models/weather-forecast.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ------------------------------------------------------------------------------
22
// <auto-generated>
3-
// This code was generated with KY.Generator 6.7.3.0
3+
// This code was generated with KY.Generator 6.7.4.0
44
//
55
// Manual changes to this file may cause unexpected behavior in your application.
66
// Manual changes to this file will be overwritten if the code is regenerated.

Examples/Angular/ServiceFromSignalRViaFluentApi/Service/ClientApp/src/app/services/weather-forecast-hub.service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ------------------------------------------------------------------------------
22
// <auto-generated>
3-
// This code was generated with KY.Generator 6.7.3.0
3+
// This code was generated with KY.Generator 6.7.4.0
44
//
55
// Manual changes to this file may cause unexpected behavior in your application.
66
// Manual changes to this file will be overwritten if the code is regenerated.

Examples/Reflection/ReflectionFromAttributes/Output/type-to-read.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ------------------------------------------------------------------------------
22
// <auto-generated>
3-
// This code was generated with KY.Generator 6.7.3.0
3+
// This code was generated with KY.Generator 6.7.4.0
44
//
55
// Manual changes to this file may cause unexpected behavior in your application.
66
// Manual changes to this file will be overwritten if the code is regenerated.

Examples/Reflection/ReflectionFromAttributes/ReflectionFromAttributes.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="KY.Generator" Version="6.7.3" />
10-
<PackageReference Include="KY.Generator.Annotations" Version="6.7.3" />
9+
<PackageReference Include="KY.Generator" Version="6.7.4" />
10+
<PackageReference Include="KY.Generator.Annotations" Version="6.7.4" />
1111
</ItemGroup>
1212

1313
</Project>

Examples/Reflection/ReflectionFromConstant/Output/class-1.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ------------------------------------------------------------------------------
22
// <auto-generated>
3-
// This code was generated with KY.Generator 6.7.3.0
3+
// This code was generated with KY.Generator 6.7.4.0
44
//
55
// Manual changes to this file may cause unexpected behavior in your application.
66
// Manual changes to this file will be overwritten if the code is regenerated.

Examples/Reflection/ReflectionFromConstant/ReflectionFromConstant.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="KY.Generator" Version="6.7.3" />
10-
<PackageReference Include="KY.Generator.Annotations" Version="6.7.3" />
9+
<PackageReference Include="KY.Generator" Version="6.7.4" />
10+
<PackageReference Include="KY.Generator.Annotations" Version="6.7.4" />
1111
</ItemGroup>
1212

1313
</Project>

Examples/Reflection/ReflectionFromCore/Output/type-to-read.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ------------------------------------------------------------------------------
22
// <auto-generated>
3-
// This code was generated with KY.Generator 6.7.3.0
3+
// This code was generated with KY.Generator 6.7.4.0
44
//
55
// Manual changes to this file may cause unexpected behavior in your application.
66
// Manual changes to this file will be overwritten if the code is regenerated.

Examples/Reflection/ReflectionFromCore/ReflectionFromCore.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="KY.Generator" Version="6.7.3" />
11-
<PackageReference Include="KY.Generator.Annotations" Version="6.7.3" />
10+
<PackageReference Include="KY.Generator" Version="6.7.4" />
11+
<PackageReference Include="KY.Generator.Annotations" Version="6.7.4" />
1212
</ItemGroup>
1313

1414
</Project>

Examples/Reflection/ReflectionFromIndex/Output/another-type.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ------------------------------------------------------------------------------
22
// <auto-generated>
3-
// This code was generated with KY.Generator 6.7.3.0
3+
// This code was generated with KY.Generator 6.7.4.0
44
//
55
// Manual changes to this file may cause unexpected behavior in your application.
66
// Manual changes to this file will be overwritten if the code is regenerated.

Examples/Reflection/ReflectionFromIndex/Output/type-to-read.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ------------------------------------------------------------------------------
22
// <auto-generated>
3-
// This code was generated with KY.Generator 6.7.3.0
3+
// This code was generated with KY.Generator 6.7.4.0
44
//
55
// Manual changes to this file may cause unexpected behavior in your application.
66
// Manual changes to this file will be overwritten if the code is regenerated.

Examples/Reflection/ReflectionFromIndex/ReflectionFromIndex.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="KY.Generator" Version="6.7.3" />
10-
<PackageReference Include="KY.Generator.Annotations" Version="6.7.3" />
9+
<PackageReference Include="KY.Generator" Version="6.7.4" />
10+
<PackageReference Include="KY.Generator.Annotations" Version="6.7.4" />
1111
</ItemGroup>
1212

1313
<ItemGroup>

Examples/Reflection/ReflectionFromMultipleAssemblies/MainAssembly/MainAssembly.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="KY.Generator" Version="6.7.3" />
10-
<PackageReference Include="KY.Generator.Annotations" Version="6.7.3" />
9+
<PackageReference Include="KY.Generator" Version="6.7.4" />
10+
<PackageReference Include="KY.Generator.Annotations" Version="6.7.4" />
1111
</ItemGroup>
1212

1313
<ItemGroup>

Examples/Reflection/ReflectionFromMultipleAssemblies/MainAssembly/Output/second-type.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ------------------------------------------------------------------------------
22
// <auto-generated>
3-
// This code was generated with KY.Generator 6.7.3.0
3+
// This code was generated with KY.Generator 6.7.4.0
44
//
55
// Manual changes to this file may cause unexpected behavior in your application.
66
// Manual changes to this file will be overwritten if the code is regenerated.

Examples/Reflection/ReflectionFromMultipleAssemblies/MainAssembly/Output/type-to-read.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ------------------------------------------------------------------------------
22
// <auto-generated>
3-
// This code was generated with KY.Generator 6.7.3.0
3+
// This code was generated with KY.Generator 6.7.4.0
44
//
55
// Manual changes to this file may cause unexpected behavior in your application.
66
// Manual changes to this file will be overwritten if the code is regenerated.

Examples/Reflection/ReflectionFromNet5/Output/type-to-read.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ------------------------------------------------------------------------------
22
// <auto-generated>
3-
// This code was generated with KY.Generator 6.7.3.0
3+
// This code was generated with KY.Generator 6.7.4.0
44
//
55
// Manual changes to this file may cause unexpected behavior in your application.
66
// Manual changes to this file will be overwritten if the code is regenerated.

Examples/Reflection/ReflectionFromNet5/ReflectionFromNet5.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="KY.Generator" Version="6.7.3" />
10-
<PackageReference Include="KY.Generator.Annotations" Version="6.7.3" />
9+
<PackageReference Include="KY.Generator" Version="6.7.4" />
10+
<PackageReference Include="KY.Generator.Annotations" Version="6.7.4" />
1111
</ItemGroup>
1212

1313
</Project>

Examples/Reflection/ReflectionFromStandard/Output/type-to-read.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ------------------------------------------------------------------------------
22
// <auto-generated>
3-
// This code was generated with KY.Generator 6.7.3.0
3+
// This code was generated with KY.Generator 6.7.4.0
44
//
55
// Manual changes to this file may cause unexpected behavior in your application.
66
// Manual changes to this file will be overwritten if the code is regenerated.

Examples/Reflection/ReflectionFromStandard/ReflectionFromStandard.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="KY.Generator" Version="6.7.3" />
10-
<PackageReference Include="KY.Generator.Annotations" Version="6.7.3" />
9+
<PackageReference Include="KY.Generator" Version="6.7.4" />
10+
<PackageReference Include="KY.Generator.Annotations" Version="6.7.4" />
1111
</ItemGroup>
1212

1313
</Project>

Examples/Reflection/ReflectionIgnoreAttribute/Output/type-to-read.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ------------------------------------------------------------------------------
22
// <auto-generated>
3-
// This code was generated with KY.Generator 6.7.3.0
3+
// This code was generated with KY.Generator 6.7.4.0
44
//
55
// Manual changes to this file may cause unexpected behavior in your application.
66
// Manual changes to this file will be overwritten if the code is regenerated.

Examples/Reflection/ReflectionIgnoreAttribute/ReflectionIgnoreAttribute.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="KY.Generator" Version="6.7.3" />
10-
<PackageReference Include="KY.Generator.Annotations" Version="6.7.3" />
9+
<PackageReference Include="KY.Generator" Version="6.7.4" />
10+
<PackageReference Include="KY.Generator.Annotations" Version="6.7.4" />
1111
</ItemGroup>
1212

1313
</Project>

Examples/Reflection/ReflectionX86/ReflectionX86.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="KY.Generator" Version="6.7.3" />
11-
<PackageReference Include="KY.Generator.Annotations" Version="6.7.3" />
10+
<PackageReference Include="KY.Generator" Version="6.7.4" />
11+
<PackageReference Include="KY.Generator.Annotations" Version="6.7.4" />
1212
</ItemGroup>
1313

1414
</Project>

Examples/Reflection/ReflectionX86/type-to-read.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ------------------------------------------------------------------------------
22
// <auto-generated>
3-
// This code was generated with KY.Generator 6.7.3.0
3+
// This code was generated with KY.Generator 6.7.4.0
44
//
55
// Manual changes to this file may cause unexpected behavior in your application.
66
// Manual changes to this file will be overwritten if the code is regenerated.

Tests/AnnotationAsync/AnnotationAsync.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="KY.Generator" Version="6.7.3" />
11-
<PackageReference Include="KY.Generator.Annotations" Version="6.7.3" />
10+
<PackageReference Include="KY.Generator" Version="6.7.4" />
11+
<PackageReference Include="KY.Generator.Annotations" Version="6.7.4" />
1212
</ItemGroup>
1313

1414
<ItemGroup>

Tests/AnnotationAsyncAssembly/AnnotationAsyncAssembly.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="KY.Generator" Version="6.7.3" />
10-
<PackageReference Include="KY.Generator.Annotations" Version="6.7.3" />
9+
<PackageReference Include="KY.Generator" Version="6.7.4" />
10+
<PackageReference Include="KY.Generator.Annotations" Version="6.7.4" />
1111
</ItemGroup>
1212

1313
</Project>

0 commit comments

Comments
 (0)