Skip to content

Commit 073a043

Browse files
committed
Tests and examples updated
1 parent df380ce commit 073a043

File tree

54 files changed

+84
-66
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

+84
-66
lines changed

Examples/Angular/ModelFromAssembly/ModelFromAssembly.csproj

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

77
<ItemGroup>
8-
<PackageReference Include="KY.Generator" Version="5.6.0" />
9-
<PackageReference Include="KY.Generator.Annotations" Version="5.6.0" />
8+
<PackageReference Include="KY.Generator" Version="5.6.1" />
9+
<PackageReference Include="KY.Generator.Annotations" Version="5.6.1" />
1010
</ItemGroup>
1111

1212
</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 5.6.0.0
3+
// This code was generated with KY.Generator 5.6.1.0
44
// Manual changes to this file may cause unexpected behavior in your application.
55
// Manual changes to this file will be overwritten if the code is regenerated.
66
// </auto-generated>

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 5.6.0.0
3+
// This code was generated with KY.Generator 5.6.1.0
44
// Manual changes to this file may cause unexpected behavior in your application.
55
// Manual changes to this file will be overwritten if the code is regenerated.
66
// </auto-generated>

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 5.6.0.0
3+
// This code was generated with KY.Generator 5.6.1.0
44
// Manual changes to this file may cause unexpected behavior in your application.
55
// Manual changes to this file will be overwritten if the code is regenerated.
66
// </auto-generated>

Examples/Angular/ServiceFromAspNetCoreAnnotation/ClientApp/src/app/services/weather-forecast.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 5.6.0.0
3+
// This code was generated with KY.Generator 5.6.1.0
44
// Manual changes to this file may cause unexpected behavior in your application.
55
// Manual changes to this file will be overwritten if the code is regenerated.
66
// </auto-generated>

Examples/Angular/ServiceFromAspNetCoreAnnotation/ServiceFromAspNetCoreAnnotation.csproj

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

1515
<ItemGroup>
16-
<PackageReference Include="KY.Generator" Version="5.6.0" />
17-
<PackageReference Include="KY.Generator.Annotations" Version="5.6.0" />
16+
<PackageReference Include="KY.Generator" Version="5.6.1" />
17+
<PackageReference Include="KY.Generator.Annotations" Version="5.6.1" />
1818
<PackageReference Include="Microsoft.AspNetCore.SpaServices.Extensions" Version="3.1.7" />
1919
</ItemGroup>
2020

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 5.6.0.0
3+
// This code was generated with KY.Generator 5.6.1.0
44
// Manual changes to this file may cause unexpected behavior in your application.
55
// Manual changes to this file will be overwritten if the code is regenerated.
66
// </auto-generated>

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 5.6.0.0
3+
// This code was generated with KY.Generator 5.6.1.0
44
// Manual changes to this file may cause unexpected behavior in your application.
55
// Manual changes to this file will be overwritten if the code is regenerated.
66
// </auto-generated>

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 5.6.0.0
3+
// This code was generated with KY.Generator 5.6.1.0
44
// Manual changes to this file may cause unexpected behavior in your application.
55
// Manual changes to this file will be overwritten if the code is regenerated.
66
// </auto-generated>

Examples/Angular/ServiceFromAspNetCoreSignalRHub/ServiceFromAspNetCoreSignalRHub.csproj

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

1515
<ItemGroup>
16-
<PackageReference Include="KY.Generator" Version="5.6.0" />
17-
<PackageReference Include="KY.Generator.Annotations" Version="5.6.0" />
16+
<PackageReference Include="KY.Generator" Version="5.6.1" />
17+
<PackageReference Include="KY.Generator.Annotations" Version="5.6.1" />
1818
<PackageReference Include="Microsoft.AspNetCore.SignalR" Version="1.1.0" />
1919
<PackageReference Include="Microsoft.AspNetCore.SpaServices.Extensions" Version="3.1.7" />
2020
</ItemGroup>

Examples/Angular/build.cmd

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ REM || ServiceFromAspNetCoreAnnotation ||
33
REM ==========================================
44
REM
55
cd ServiceFromAspNetCoreAnnotation
6+
rmdir /S/Q bin
67
rmdir /S/Q ClientApp\src\app\models
78
rmdir /S/Q ClientApp\src\app\services
89
dotnet add package KY.Generator
@@ -16,6 +17,7 @@ REM || ServiceFromAspNetCoreSignalRHub ||
1617
REM ==========================================
1718
REM
1819
cd ServiceFromAspNetCoreSignalRHub
20+
rmdir /S/Q bin
1921
rmdir /S/Q ClientApp\src\app\models
2022
rmdir /S/Q ClientApp\src\app\services
2123
dotnet add package KY.Generator
@@ -29,6 +31,7 @@ REM || ModelFromAssembly ||
2931
REM ==========================================
3032
REM
3133
cd ModelFromAssembly
34+
rmdir /S/Q bin
3235
rmdir /S/Q Output
3336
dotnet add package KY.Generator
3437
dotnet add package KY.Generator.Annotations

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 5.6.0.0
3+
// This code was generated with KY.Generator 5.6.1.0
44
// Manual changes to this file may cause unexpected behavior in your application.
55
// Manual changes to this file will be overwritten if the code is regenerated.
66
// </auto-generated>

Examples/Reflection/ReflectionFromAttributes/ReflectionFromAttributes.csproj

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

77
<ItemGroup>
8-
<PackageReference Include="KY.Generator" Version="5.6.0" />
9-
<PackageReference Include="KY.Generator.Annotations" Version="5.6.0" />
8+
<PackageReference Include="KY.Generator" Version="5.6.1" />
9+
<PackageReference Include="KY.Generator.Annotations" Version="5.6.1" />
1010
</ItemGroup>
1111

1212
</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 5.6.0.0
3+
// This code was generated with KY.Generator 5.6.1.0
44
// Manual changes to this file may cause unexpected behavior in your application.
55
// Manual changes to this file will be overwritten if the code is regenerated.
66
// </auto-generated>

Examples/Reflection/ReflectionFromCore/ReflectionFromCore.csproj

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

88
<ItemGroup>
9-
<PackageReference Include="KY.Generator" Version="5.6.0" />
9+
<PackageReference Include="KY.Generator" Version="5.6.1" />
1010
</ItemGroup>
1111

1212
</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 5.6.0.0
3+
// This code was generated with KY.Generator 5.6.1.0
44
// Manual changes to this file may cause unexpected behavior in your application.
55
// Manual changes to this file will be overwritten if the code is regenerated.
66
// </auto-generated>

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 5.6.0.0
3+
// This code was generated with KY.Generator 5.6.1.0
44
// Manual changes to this file may cause unexpected behavior in your application.
55
// Manual changes to this file will be overwritten if the code is regenerated.
66
// </auto-generated>

Examples/Reflection/ReflectionFromIndex/ReflectionFromIndex.csproj

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

77
<ItemGroup>
8-
<PackageReference Include="KY.Generator" Version="5.6.0" />
9-
<PackageReference Include="KY.Generator.Annotations" Version="5.6.0" />
8+
<PackageReference Include="KY.Generator" Version="5.6.1" />
9+
<PackageReference Include="KY.Generator.Annotations" Version="5.6.1" />
1010
</ItemGroup>
1111

1212
<ItemGroup>

Examples/Reflection/ReflectionFromMultipleAssemblies/MainAssembly/MainAssembly.csproj

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

77
<ItemGroup>
8-
<PackageReference Include="KY.Generator" Version="5.6.0" />
9-
<PackageReference Include="KY.Generator.Annotations" Version="5.6.0" />
8+
<PackageReference Include="KY.Generator" Version="5.6.1" />
9+
<PackageReference Include="KY.Generator.Annotations" Version="5.6.1" />
1010
</ItemGroup>
1111

1212
<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 5.6.0.0
3+
// This code was generated with KY.Generator 5.6.1.0
44
// Manual changes to this file may cause unexpected behavior in your application.
55
// Manual changes to this file will be overwritten if the code is regenerated.
66
// </auto-generated>

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 5.6.0.0
3+
// This code was generated with KY.Generator 5.6.1.0
44
// Manual changes to this file may cause unexpected behavior in your application.
55
// Manual changes to this file will be overwritten if the code is regenerated.
66
// </auto-generated>

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 5.6.0.0
3+
// This code was generated with KY.Generator 5.6.1.0
44
// Manual changes to this file may cause unexpected behavior in your application.
55
// Manual changes to this file will be overwritten if the code is regenerated.
66
// </auto-generated>

Examples/Reflection/ReflectionFromNet5/ReflectionFromNet5.csproj

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

77
<ItemGroup>
8-
<PackageReference Include="KY.Generator" Version="5.6.0" />
9-
<PackageReference Include="KY.Generator.Annotations" Version="5.6.0" />
8+
<PackageReference Include="KY.Generator" Version="5.6.1" />
9+
<PackageReference Include="KY.Generator.Annotations" Version="5.6.1" />
1010
</ItemGroup>
1111

1212
</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 5.6.0.0
3+
// This code was generated with KY.Generator 5.6.1.0
44
// Manual changes to this file may cause unexpected behavior in your application.
55
// Manual changes to this file will be overwritten if the code is regenerated.
66
// </auto-generated>

Examples/Reflection/ReflectionFromStandard/ReflectionFromStandard.csproj

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

77
<ItemGroup>
8-
<PackageReference Include="KY.Generator" Version="5.6.0" />
8+
<PackageReference Include="KY.Generator" Version="5.6.1" />
99
</ItemGroup>
1010

1111
</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 5.6.0.0
3+
// This code was generated with KY.Generator 5.6.1.0
44
// Manual changes to this file may cause unexpected behavior in your application.
55
// Manual changes to this file will be overwritten if the code is regenerated.
66
// </auto-generated>

Examples/Reflection/ReflectionIgnoreAttribute/ReflectionIgnoreAttribute.csproj

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

77
<ItemGroup>
8-
<PackageReference Include="KY.Generator" Version="5.6.0" />
9-
<PackageReference Include="KY.Generator.Annotations" Version="5.6.0" />
8+
<PackageReference Include="KY.Generator" Version="5.6.1" />
9+
<PackageReference Include="KY.Generator.Annotations" Version="5.6.1" />
1010
</ItemGroup>
1111

1212
</Project>

Examples/Reflection/ReflectionX86/ReflectionX86.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="5.6.0" />
10-
<PackageReference Include="KY.Generator.Annotations" Version="5.6.0" />
9+
<PackageReference Include="KY.Generator" Version="5.6.1" />
10+
<PackageReference Include="KY.Generator.Annotations" Version="5.6.1" />
1111
</ItemGroup>
1212

1313
</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 5.6.0.0
3+
// This code was generated with KY.Generator 5.6.1.0
44
// Manual changes to this file may cause unexpected behavior in your application.
55
// Manual changes to this file will be overwritten if the code is regenerated.
66
// </auto-generated>

Examples/Reflection/build.cmd

+9
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ REM || ReflectionFromAttributes ||
33
REM ====================================
44
REM
55
cd ReflectionFromAttributes
6+
rmdir /S/Q bin
67
rmdir /S/Q Output
78
dotnet add package KY.Generator
89
dotnet add package KY.Generator.Annotations
@@ -14,6 +15,7 @@ REM || ReflectionFromCore ||
1415
REM ====================================
1516
REM
1617
cd ReflectionFromCore
18+
rmdir /S/Q bin
1719
rmdir /S/Q Output
1820
dotnet add package KY.Generator
1921
dotnet build --no-incremental
@@ -24,6 +26,7 @@ REM || ReflectionFromExecutable ||
2426
REM ====================================
2527
REM
2628
cd ReflectionFromExecutable
29+
rmdir /S/Q bin
2730
rmdir /S/Q Output
2831
dotnet add package KY.Generator
2932
dotnet build --no-incremental
@@ -34,6 +37,7 @@ REM || ReflectionFromIndex ||
3437
REM ====================================
3538
REM
3639
cd ReflectionFromIndex
40+
rmdir /S/Q bin
3741
rmdir /S/Q Output
3842
dotnet add package KY.Generator
3943
dotnet add package KY.Generator.Annotations
@@ -45,6 +49,7 @@ REM || ReflectionFromMultipleAssemblies ||
4549
REM ===========================================
4650
REM
4751
cd ReflectionFromMultipleAssemblies\MainAssembly
52+
rmdir /S/Q bin
4853
rmdir /S/Q Output
4954
dotnet add package KY.Generator
5055
dotnet add package KY.Generator.Annotations
@@ -56,6 +61,7 @@ REM || ReflectionFromStandard ||
5661
REM ====================================
5762
REM
5863
cd ReflectionFromStandard
64+
rmdir /S/Q bin
5965
rmdir /S/Q Output
6066
dotnet add package KY.Generator
6167
dotnet build --no-incremental
@@ -66,6 +72,7 @@ REM || ReflectionIgnoreAttribute ||
6672
REM ====================================
6773
REM
6874
cd ReflectionIgnoreAttribute
75+
rmdir /S/Q bin
6976
rmdir /S/Q Output
7077
dotnet add package KY.Generator
7178
dotnet add package KY.Generator.Annotations
@@ -77,6 +84,7 @@ REM || ReflectionX86 ||
7784
REM ====================================
7885
REM
7986
cd ReflectionX86
87+
rmdir /S/Q bin
8088
del type-to-read.ts
8189
dotnet add package KY.Generator
8290
dotnet add package KY.Generator.Annotations
@@ -88,6 +96,7 @@ REM || ReflectionFromNet5 ||
8896
REM ====================================
8997
REM
9098
cd ReflectionFromNet5
99+
rmdir /S/Q bin
91100
rmdir /S/Q Output
92101
dotnet add package KY.Generator
93102
dotnet add package KY.Generator.Annotations

Tests/AnnotationAsync/AnnotationAsync.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="5.6.0" />
10-
<PackageReference Include="KY.Generator.Annotations" Version="5.6.0" />
9+
<PackageReference Include="KY.Generator" Version="5.6.1" />
10+
<PackageReference Include="KY.Generator.Annotations" Version="5.6.1" />
1111
</ItemGroup>
1212

1313
<ItemGroup>

Tests/AnnotationAsync/Output/angular-async.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 5.6.0.0
3+
// This code was generated with KY.Generator 5.6.1.0
44
// Manual changes to this file may cause unexpected behavior in your application.
55
// Manual changes to this file will be overwritten if the code is regenerated.
66
// </auto-generated>

Tests/AnnotationAsync/Output/async-types.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 5.6.0.0
3+
// This code was generated with KY.Generator 5.6.1.0
44
// Manual changes to this file may cause unexpected behavior in your application.
55
// Manual changes to this file will be overwritten if the code is regenerated.
66
// </auto-generated>

Tests/AnnotationAsync/Output/not-async-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 5.6.0.0
3+
// This code was generated with KY.Generator 5.6.1.0
44
// Manual changes to this file may cause unexpected behavior in your application.
55
// Manual changes to this file will be overwritten if the code is regenerated.
66
// </auto-generated>

Tests/AnnotationAsync/Output/sub-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 5.6.0.0
3+
// This code was generated with KY.Generator 5.6.1.0
44
// Manual changes to this file may cause unexpected behavior in your application.
55
// Manual changes to this file will be overwritten if the code is regenerated.
66
// </auto-generated>

0 commit comments

Comments
 (0)