Skip to content

Commit

Permalink
mapto finish
Browse files Browse the repository at this point in the history
  • Loading branch information
ignatandrei committed Oct 4, 2023
1 parent 9a2a8d2 commit 7967d6d
Show file tree
Hide file tree
Showing 12 changed files with 82 additions and 71 deletions.
4 changes: 2 additions & 2 deletions v2/Generator/MultiGeneratorV2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ public class MultiGeneratorV2
,new ("M31.FluentAPI https://github.com/m31coding/M31.FluentAPI",later)
,new ("MapDataReader https://github.com/jitbit/MapDataReader",old)
,new ("MappingCloningExtensions https://github.com/musictopia2/MappingCloningExtensions",noReadMe)
,new ("MapTo https://github.com/mrtaikandi/MapTo",later)
,new ("MediatR controllers generator https://github.com/Burgyn/MMLib.MediatR.Generators",old)
,new ("MemberAccessGenerator https://github.com/ufcpp/MemberAccessGenerator",old)
,new ("MockableStaticGenerator https://github.com/HamedFathi/MockableStaticGenerator",old)
Expand Down Expand Up @@ -245,7 +244,8 @@ public MultiGeneratorV2(string root)
{"StringLiteral", new(true,new(2023,10,1),Category.Optimizer) },
{"ResXGenerator", new (true,new(2023,10,2),Category.FilesToCode) },
{"Disposer",new(true, new(2023,10,3),Category.Disposer) },
{"BuilderGenerator", new (true,new(2023,10,4),Category.EnhancementClass) }
{"BuilderGenerator", new (true,new(2023,10,4),Category.EnhancementClass) },
{"MapTo", new (true,new(2023,10,5),Category.Mapper ) },
};
var noCategory = generators.Where(it=>it.Value.Category == Category.None).ToArray();
if (noCategory.Length > 0)
Expand Down
1 change: 1 addition & 0 deletions v2/Generator/all.csv
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,4 @@ Nr,Key,Source,Category
64,ResXGenerator, https://github.com/ycanardeau/ResXGenerator,FilesToCode
65,Disposer, https://github.com/HakamFostok/Disposer,Disposer
66,BuilderGenerator, https://github.com/MelGrubb/BuilderGenerator,EnhancementClass
67,MapTo, https://github.com/mrtaikandi/MapTo,Mapper
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion v2/book/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</head>
<body>
<h1>
This is the list of 66 RSCG with examples =>
This is the list of 67 RSCG with examples =>
</h1>

<table >
Expand Down Expand Up @@ -290,6 +290,10 @@ <h1>
<td>66</td>
<td><a href="examples/BuilderGenerator.html">BuilderGenerator</a></td>
</tr>
<tr>
<td>67</td>
<td><a href="examples/MapTo.html">MapTo</a></td>
</tr>
</table>


Expand Down
1 change: 1 addition & 0 deletions v2/book/pandocHTML.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ input-files:
- examples/ResXGenerator.html
- examples/Disposer.html
- examples/BuilderGenerator.html
- examples/MapTo.html

# or you may use input-file: with a single value
# defaults:
Expand Down
124 changes: 60 additions & 64 deletions v2/rscg_examples_site/docs/NoExamples.md
Original file line number Diff line number Diff line change
Expand Up @@ -326,247 +326,243 @@ Why I have not put example: old ISourceGenerator

Why I have not put example: no readme

81)MapTo https://github.com/mrtaikandi/MapTo

Why I have not put example: later

82)Maui.BindableProperty.Generator https://github.com/rrmanzano/maui-bindableproperty-generator
81)Maui.BindableProperty.Generator https://github.com/rrmanzano/maui-bindableproperty-generator

Why I have not put example: too complicated for me, need help

83)MediatR https://github.com/Burgyn/MMLib.MediatR.Generators
82)MediatR https://github.com/Burgyn/MMLib.MediatR.Generators

Why I have not put example: old ISourceGenerator

84)MemberAccessGenerator https://github.com/ufcpp/MemberAccessGenerator
83)MemberAccessGenerator https://github.com/ufcpp/MemberAccessGenerator

Why I have not put example: old ISourceGenerator

85)MemoizeSourceGenerator https://github.com/Zoxive/MemoizeSourceGenerator
84)MemoizeSourceGenerator https://github.com/Zoxive/MemoizeSourceGenerator

Why I have not put example: old ISourceGenerator

86)MiniRazor https://github.com/Tyrrrz/MiniRazor/
85)MiniRazor https://github.com/Tyrrrz/MiniRazor/

Why I have not put example: archived

87)MockableStaticGenerator https://github.com/HamedFathi/MockableStaticGenerator
86)MockableStaticGenerator https://github.com/HamedFathi/MockableStaticGenerator

Why I have not put example: old ISourceGenerator

88)MockGen https://github.com/thomas-girotto/MockGen
87)MockGen https://github.com/thomas-girotto/MockGen

Why I have not put example: old ISourceGenerator

89)MockSourceGenerator https://github.com/hermanussen/MockSourceGenerator
88)MockSourceGenerator https://github.com/hermanussen/MockSourceGenerator

Why I have not put example: old ISourceGenerator

90)MrMeeseeks.DIE https://github.com/Yeah69/MrMeeseeks.DIE
89)MrMeeseeks.DIE https://github.com/Yeah69/MrMeeseeks.DIE

Why I have not put example: old ISourceGenerator

91)MrMeeseeks.ResXToViewModelGenerator https://github.com/Yeah69/MrMeeseeks.ResXToViewModelGenerator
90)MrMeeseeks.ResXToViewModelGenerator https://github.com/Yeah69/MrMeeseeks.ResXToViewModelGenerator

Why I have not put example: old ISourceGenerator

92)MrMeeseeks.StaticDelegateGenerator https://github.com/Yeah69/MrMeeseeks.StaticDelegateGenerator
91)MrMeeseeks.StaticDelegateGenerator https://github.com/Yeah69/MrMeeseeks.StaticDelegateGenerator

Why I have not put example: old ISourceGenerator

93)MrMeeseeks.Visitor https://github.com/Yeah69/MrMeeseeks.Visitor
92)MrMeeseeks.Visitor https://github.com/Yeah69/MrMeeseeks.Visitor

Why I have not put example: old ISourceGenerator

94)MvvmGen https://github.com/thomasclaudiushuber/mvvmgen
93)MvvmGen https://github.com/thomasclaudiushuber/mvvmgen

Why I have not put example: too complicated for me, need help

95)N.SourceGenerators.UnionTypes https://github.com/Ne4to/N.SourceGenerators.UnionTypes
94)N.SourceGenerators.UnionTypes https://github.com/Ne4to/N.SourceGenerators.UnionTypes

Why I have not put example: old ISourceGenerator

96)Navitski.Crystalized https://github.com/AlexNav73/CoreCraft
95)Navitski.Crystalized https://github.com/AlexNav73/CoreCraft

Why I have not put example: JSON to classes. Waiting for .NET 8 to see if MSFT has done natively

97)net_automatic_interface https://github.com/codecentric/net_automatic_interface
96)net_automatic_interface https://github.com/codecentric/net_automatic_interface

Why I have not put example: old ISourceGenerator

98)Plastic https://github.com/sang-hyeon/Plastic
97)Plastic https://github.com/sang-hyeon/Plastic

Why I have not put example: old ISourceGenerator

99)PolySharp https://github.com/Sergio0694/PolySharp
98)PolySharp https://github.com/Sergio0694/PolySharp

Why I have not put example: too complicated for me, need help

100)PrimaryConstructor https://github.com/chaowlert/PrimaryConstructor
99)PrimaryConstructor https://github.com/chaowlert/PrimaryConstructor

Why I have not put example: old ISourceGenerator

101)PrimaryParameter https://github.com/FaustVX/PrimaryParameter
100)PrimaryParameter https://github.com/FaustVX/PrimaryParameter

Why I have not put example: later in .net 8

102)PrimitiveStaticDataGenerator https://github.com/iiweis/PrimitiveStaticDataGenerator
101)PrimitiveStaticDataGenerator https://github.com/iiweis/PrimitiveStaticDataGenerator

Why I have not put example: old ISourceGenerator

103)PrintMembersGenerator https://github.com/Youssef1313/PrintMembersGenerator
102)PrintMembersGenerator https://github.com/Youssef1313/PrintMembersGenerator

Why I have not put example: old ISourceGenerator

104)ProxyInterfaceGenerator https://github.com/StefH/ProxyInterfaceSourceGenerator
103)ProxyInterfaceGenerator https://github.com/StefH/ProxyInterfaceSourceGenerator

Why I have not put example: old ISourceGenerator

105)Pure.DI https://github.com/DevTeam/Pure.DI
104)Pure.DI https://github.com/DevTeam/Pure.DI

Why I have not put example: too complicated for me, need help

106)RazorPageRouteGenerator https://github.com/surgicalcoder/RazorPageRouteGenerator
105)RazorPageRouteGenerator https://github.com/surgicalcoder/RazorPageRouteGenerator

Why I have not put example: old ISourceGenerator

107)RoslynWeave https://github.com/Jishun/RoslynWeave
106)RoslynWeave https://github.com/Jishun/RoslynWeave

Why I have not put example: old ISourceGenerator

108)ScenarioTests https://github.com/koenbeuk/ScenarioTests
107)ScenarioTests https://github.com/koenbeuk/ScenarioTests

Why I have not put example: old ISourceGenerator

109)SerdeDn https://github.com/serdedotnet/serde
108)SerdeDn https://github.com/serdedotnet/serde

Why I have not put example: serializer. Done by MSFT with System.Text.Json

110)SmallSharp https://github.com/devlooped/SmallSharp
109)SmallSharp https://github.com/devlooped/SmallSharp

Why I have not put example: old ISourceGenerator

111)SmartAnnotations https://github.com/fiseni/SmartAnnotations
110)SmartAnnotations https://github.com/fiseni/SmartAnnotations

Why I have not put example: old ISourceGenerator

112)SourceApi https://github.com/alekshura/SourceApi
111)SourceApi https://github.com/alekshura/SourceApi

Why I have not put example: old ISourceGenerator

113)SourceConfig https://github.com/alekshura/SourceConfig
112)SourceConfig https://github.com/alekshura/SourceConfig

Why I have not put example: old ISourceGenerator

114)SourceGeneratorQuery https://github.com/roeibajayo/SourceGeneratorQuery
113)SourceGeneratorQuery https://github.com/roeibajayo/SourceGeneratorQuery

Why I have not put example: old ISourceGenerator

115)SourceInject https://github.com/giggio/sourceinject/
114)SourceInject https://github.com/giggio/sourceinject/

Why I have not put example: old ISourceGenerator

116)SourceMapper https://github.com/alekshura/SourceMapper
115)SourceMapper https://github.com/alekshura/SourceMapper

Why I have not put example: old ISourceGenerator

117)SourceMapper https://github.com/paiden/SourceMapper/
116)SourceMapper https://github.com/paiden/SourceMapper/

Why I have not put example: old ISourceGenerator

118)SqlMarshal https://github.com/kant2002/SqlMarshal
117)SqlMarshal https://github.com/kant2002/SqlMarshal

Why I have not put example: old ISourceGenerator

119)ST.NSwag.ServerSourceGenerator https://github.com/s-tarasov/ST.NSwag.ServerSourceGenerator
118)ST.NSwag.ServerSourceGenerator https://github.com/s-tarasov/ST.NSwag.ServerSourceGenerator

Why I have not put example: swagger,need help

120)StackXML https://github.com/ZingBallyhoo/StackXML
119)StackXML https://github.com/ZingBallyhoo/StackXML

Why I have not put example: old ISourceGenerator

121)StaticProxyGenerator https://github.com/robertturner/StaticProxyGenerator
120)StaticProxyGenerator https://github.com/robertturner/StaticProxyGenerator

Why I have not put example: old ISourceGenerator

122)StrongInject https://github.com/YairHalberstadt/stronginject/
121)StrongInject https://github.com/YairHalberstadt/stronginject/

Why I have not put example: too complicated for me, need help

123)StronglyTypedEmbeddedResources https://github.com/surgicalcoder/StronglyTypedEmbeddedResources
122)StronglyTypedEmbeddedResources https://github.com/surgicalcoder/StronglyTypedEmbeddedResources

Why I have not put example: old ISourceGenerator

124)StructPacker https://github.com/RudolfKurka/StructPacker
123)StructPacker https://github.com/RudolfKurka/StructPacker

Why I have not put example: old ISourceGenerator

125)Svg https://github.com/wieslawsoltes/Svg.Skia
124)Svg https://github.com/wieslawsoltes/Svg.Skia

Why I have not put example: old ISourceGenerator

126)TeuJson https://github.com/Terria-K/TeuJson
125)TeuJson https://github.com/Terria-K/TeuJson

Why I have not put example: json a class, was done in System.Text.Json

127)Thunderboltloc https://github.com/AlyElhaddad/ThunderboltIoc
126)Thunderboltloc https://github.com/AlyElhaddad/ThunderboltIoc

Why I have not put example: old ISourceGenerator

128)Tinyhand https://github.com/archi-Doc/Tinyhand
127)Tinyhand https://github.com/archi-Doc/Tinyhand

Why I have not put example: tried, need documentation

129)Tortuga.Shipwright https://github.com/TortugaResearch/Tortuga.Shipwright
128)Tortuga.Shipwright https://github.com/TortugaResearch/Tortuga.Shipwright

Why I have not put example: too complicated for me, need help

130)ToString https://github.com/Burgyn/MMLib.ToString
129)ToString https://github.com/Burgyn/MMLib.ToString

Why I have not put example: old ISourceGenerator

131)Transplator https://github.com/atifaziz/Transplator
130)Transplator https://github.com/atifaziz/Transplator

Why I have not put example: old ISourceGenerator

132)TupleOverloadGenerator https://github.com/ProphetLamb/TupleOverloadGenerator
131)TupleOverloadGenerator https://github.com/ProphetLamb/TupleOverloadGenerator

Why I have not put example: too complicated for me, need help

133)TxtToListGenerator https://github.com/musictopia2/TxtToListGenerator
132)TxtToListGenerator https://github.com/musictopia2/TxtToListGenerator

Why I have not put example: no readme

134)TypealizR https://github.com/earloc/TypealizR
133)TypealizR https://github.com/earloc/TypealizR

Why I have not put example: depends on Microsoft.Extensions.Localization

135)ValueChangedGenerator https://github.com/ufcpp/ValueChangedGenerator
134)ValueChangedGenerator https://github.com/ufcpp/ValueChangedGenerator

Why I have not put example: old ISourceGenerator

136)ValueLink https://github.com/archi-Doc/ValueLink
135)ValueLink https://github.com/archi-Doc/ValueLink

Why I have not put example: too complicated for me, need help

137)ValueObjectGenerator https://github.com/RyotaMurohoshi/ValueObjectGenerator
136)ValueObjectGenerator https://github.com/RyotaMurohoshi/ValueObjectGenerator

Why I have not put example: old ISourceGenerator

138)Visor https://github.com/Tinkoff/Visor
137)Visor https://github.com/Tinkoff/Visor

Why I have not put example: too complicated for me, need help

139)WinUI-ObservableSettings https://github.com/JasonWei512/WinUI-ObservableSettings
138)WinUI-ObservableSettings https://github.com/JasonWei512/WinUI-ObservableSettings

Why I have not put example: less than net 7

140)WrapperValueObject https://github.com/martinothamar/WrapperValueObject
139)WrapperValueObject https://github.com/martinothamar/WrapperValueObject

Why I have not put example: not maintained as in readme

141)Xtz.StronglyTyped https://github.com/dev-experience/Xtz.StronglyTyped
140)Xtz.StronglyTyped https://github.com/dev-experience/Xtz.StronglyTyped

Why I have not put example: old ISourceGenerator

2 changes: 1 addition & 1 deletion v2/rscg_examples_site/docs/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ title: About
## Content

You will find here code examples
of 66 Roslyn Source Code Generator (RSCG)
of 67 Roslyn Source Code Generator (RSCG)
that can be useful for you. That means, you will write more elegant and concise code - even if the generators code is not always nice to look.

## Are those examples ready for production?
Expand Down
5 changes: 3 additions & 2 deletions v2/rscg_examples_site/docs/indexRSCG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import useBaseUrl from '@docusaurus/useBaseUrl';
<script src={useBaseUrl('/js/mailerlite.js')} />;
</head>

## 66 RSCG with examples in descending chronological order
## 67 RSCG with examples in descending chronological order

This is the list of 66 ( 6 from Microsoft) RSCG with examples
This is the list of 67 ( 6 from Microsoft) RSCG with examples

[See as json](/exports/RSCG.json) [See as Excel](/exports/RSCG.xlsx)

Expand All @@ -23,6 +23,7 @@ This is the list of 66 ( 6 from Microsoft) RSCG with examples

| No | Name | Date | Category |
| --------- | ----- | ---- | -------- |
|67|[MapTo](/docs/MapTo)|2023-10-05 => 05 October 2023 | Mapper |
|66|[BuilderGenerator](/docs/BuilderGenerator)|2023-10-04 => 04 October 2023 | EnhancementClass |
|65|[Disposer](/docs/Disposer)|2023-10-03 => 03 October 2023 | Disposer |
|64|[ResXGenerator](/docs/ResXGenerator)|2023-10-02 => 02 October 2023 | FilesToCode |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ type FeatureItem = {

const FeatureList: FeatureItem[] = [
{
title: '66 Examples (6 from MSFT)',
title: '67 Examples (6 from MSFT)',
Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default,
description: (
<>
Expand Down
Loading

0 comments on commit 7967d6d

Please sign in to comment.