Skip to content

Commit 21b2725

Browse files
authored
Merge pull request #359 from ignatandrei/MemberAccessor
memberaccesor
2 parents 5fa43d0 + 5c75cbb commit 21b2725

54 files changed

Lines changed: 977 additions & 236 deletions

Some content is hidden

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

README.md

Lines changed: 58 additions & 50 deletions
Large diffs are not rendered by default.

later.md

Lines changed: 10 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Just later
22

3-
## Latest Update : 2025-03-23 => 23 March 2025
3+
## Latest Update : 2025-03-24 => 24 March 2025
44

55

66

@@ -100,67 +100,55 @@ Why I have not tested : later
100100

101101

102102

103-
16) [https://github.com/TarasKovalenko/EntityLengths.Generator]( https://github.com/TarasKovalenko/EntityLengths.Generator) , https://github.com/TarasKovalenko/EntityLengths.Generator
103+
16) [https://github.com/Teleopti/Saspect]( https://github.com/Teleopti/Saspect) , https://github.com/Teleopti/Saspect
104104

105105
Why I have not tested : later
106106

107107

108108

109-
17) [https://github.com/Teleopti/Saspect]( https://github.com/Teleopti/Saspect) , https://github.com/Teleopti/Saspect
109+
17) [https://github.com/TheFo2sh/AsyncFlow]( https://github.com/TheFo2sh/AsyncFlow) , https://github.com/TheFo2sh/AsyncFlow
110110

111111
Why I have not tested : later
112112

113113

114114

115-
18) [https://github.com/TheFo2sh/AsyncFlow]( https://github.com/TheFo2sh/AsyncFlow) , https://github.com/TheFo2sh/AsyncFlow
115+
18) [https://github.com/usausa/service-registration-generator]( https://github.com/usausa/service-registration-generator) , https://github.com/usausa/service-registration-generator
116116

117117
Why I have not tested : later
118118

119119

120120

121-
19) [https://github.com/usausa/member-accessor-generator]( https://github.com/usausa/member-accessor-generator) , https://github.com/usausa/member-accessor-generator
121+
19) [laker]( https://github.com/Lakerfield/Lakerfield.Rpc) , https://github.com/Lakerfield/Lakerfield.Rpc
122122

123123
Why I have not tested : later
124124

125125

126126

127-
20) [https://github.com/usausa/service-registration-generator]( https://github.com/usausa/service-registration-generator) , https://github.com/usausa/service-registration-generator
127+
20) [Minerals.AutoCQRS]( https://github.com/SzymonHalucha/Minerals.AutoCQRS) , https://github.com/SzymonHalucha/Minerals.AutoCQRS
128128

129129
Why I have not tested : later
130130

131131

132132

133-
21) [laker]( https://github.com/Lakerfield/Lakerfield.Rpc) , https://github.com/Lakerfield/Lakerfield.Rpc
133+
21) [Minerals.AutoDomain]( https://github.com/SzymonHalucha/Minerals.AutoDomain) , https://github.com/SzymonHalucha/Minerals.AutoDomain
134134

135135
Why I have not tested : later
136136

137137

138138

139-
22) [Minerals.AutoCQRS]( https://github.com/SzymonHalucha/Minerals.AutoCQRS) , https://github.com/SzymonHalucha/Minerals.AutoCQRS
139+
22) [observable]( https://github.com/notanaverageman/Bindables) , https://github.com/notanaverageman/Bindables
140140

141141
Why I have not tested : later
142142

143143

144144

145-
23) [Minerals.AutoDomain]( https://github.com/SzymonHalucha/Minerals.AutoDomain) , https://github.com/SzymonHalucha/Minerals.AutoDomain
145+
23) [RazorGen]( https://github.com/dartk/RazorGen) , https://github.com/dartk/RazorGen
146146

147147
Why I have not tested : later
148148

149149

150150

151-
24) [observable]( https://github.com/notanaverageman/Bindables) , https://github.com/notanaverageman/Bindables
152-
153-
Why I have not tested : later
154-
155-
156-
157-
25) [RazorGen]( https://github.com/dartk/RazorGen) , https://github.com/dartk/RazorGen
158-
159-
Why I have not tested : later
160-
161-
162-
163-
26) [SourceCrafter.HttpServiceClientGenerator]( https://github.com/pedro-gilmora/SourceCrafter.HttpServiceClientGenerator/) , https://github.com/pedro-gilmora/SourceCrafter.HttpServiceClientGenerator/
151+
24) [SourceCrafter.HttpServiceClientGenerator]( https://github.com/pedro-gilmora/SourceCrafter.HttpServiceClientGenerator/) , https://github.com/pedro-gilmora/SourceCrafter.HttpServiceClientGenerator/
164152

165153
Why I have not tested : later
166154

v2/Generator/MultiGeneratorV2.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ public async Task<long> GrabDescriptionFromNuget()
296296
AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate
297297
};
298298
HttpClient _client = new(handler);
299-
299+
Console.WriteLine($"grab data from {url}");
300300
var response = await _client.GetAsync(url);
301301
var data=await response.Content.ReadAsStringAsync();
302302
var answer= JsonDocument.Parse(data);

v2/Generator/all.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,3 +187,4 @@ Nr,Key,Source,Category
187187
186,RSCG_CompositeProvider, https://github.com/ignatandrei/RSCG_CompositeProvider,Interface
188188
187,EntityLengths.Generator, https://github.com/TarasKovalenko/EntityLengths.Generator/,Database
189189
188,StepwiseBuilderGenerator, https://github.com/Georgiy-Petrov/StepwiseBuilderGenerator,Builder
190+
189,MemberAccessor, https://github.com/usausa/member-accessor-generator,EnhancementClass

v2/RSCGExamplesData/GeneratorDataRec.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1135,5 +1135,11 @@
11351135
"Category": 4,
11361136
"dtStart": "2025-03-23T00:00:00",
11371137
"show": true
1138+
},
1139+
{
1140+
"ID":"MemberAccessor",
1141+
"Category": 5,
1142+
"dtStart": "2025-03-24T00:00:00",
1143+
"show": true
11381144
}
11391145
]

v2/RSCGExamplesData/NoExample.json

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -901,11 +901,6 @@
901901
"name":"https://github.com/hughesjs/SuperFluid",
902902
"why":"later"
903903
},
904-
{
905-
"ID":200,
906-
"name":"https://github.com/TarasKovalenko/EntityLengths.Generator",
907-
"why":"later"
908-
},
909904
{
910905
"ID":201,
911906
"name":"https://github.com/stbychkov/AutoLoggerMessage",
@@ -916,10 +911,6 @@
916911
"name":"https://github.com/Teleopti/Saspect",
917912
"why":"later"
918913
},
919-
{"ID":203,
920-
"name":"https://github.com/usausa/member-accessor-generator",
921-
"why":"later"
922-
},
923914
{
924915
"ID":204,
925916
"name":"https://github.com/eddievelasquez/IntercodeToolbox",
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
2+
<h1>RSCG nr 189 : MemberAccessor</h1>
3+
4+
<h2>Info</h2>
5+
Nuget : <a href="https://www.nuget.org/packages/BunnyTail.MemberAccessor/" target="_blank">https://www.nuget.org/packages/BunnyTail.MemberAccessor/</a>
6+
7+
<p>You can find more details at : <a href="https://github.com/usausa/member-accessor-generator" target="_blank"> https://github.com/usausa/member-accessor-generator</a></p>
8+
9+
<p>Author :Yamaokuno</p>
10+
11+
<p>Source : <a href="https://github.com/usausa/member-accessor-generator" target="_blank">https://github.com/usausa/member-accessor-generator</a> </p>
12+
13+
<h2>About</h2>
14+
15+
Generate getter and setter for class members.
16+
17+
<h2>
18+
How to use
19+
</h2>
20+
<h3>
21+
Add reference to the <a href="https://www.nuget.org/packages/BunnyTail.MemberAccessor/" target="_blank">MemberAccessor</a> in the csproj
22+
</h3>
23+
<img src="images/MemberAccessor/DemoMember.csproj.png" width="580" height="580" />
24+
25+
<h3>This was for me the <b>starting</b> code</h3>
26+
27+
<br />
28+
I have <b>coded</b> the file Program.cs
29+
<br />
30+
<img src="images/MemberAccessor/csFiles/Program.cs.png" width="580" height="580" />
31+
<hr />
32+
33+
<br />
34+
I have <b>coded</b> the file Person.cs
35+
<br />
36+
<img src="images/MemberAccessor/csFiles/Person.cs.png" width="580" height="580" />
37+
<hr />
38+
<h3>And here are the <i>generated</i> files</h3>
39+
40+
<br />
41+
The file <i>generated</i> is AccessorInitializer.g.cs
42+
<br />
43+
<img src="images/MemberAccessor/generated/AccessorInitializer.g.cs.png" width="580" height="580" />
44+
45+
<br />
46+
The file <i>generated</i> is DemoMember_Person_Accessor.g.cs
47+
<br />
48+
<img src="images/MemberAccessor/generated/DemoMember_Person_Accessor.g.cs.png" width="580" height="580" />
49+
50+
<p>
51+
You can download the code and this page as pdf from
52+
<a target="_blank" href='https://ignatandrei.github.io/RSCG_Examples/v2/docs/MemberAccessor'>
53+
https://ignatandrei.github.io/RSCG_Examples/v2/docs/MemberAccessor
54+
</a>
55+
</p>
56+
57+
58+
<p>
59+
You can see the whole list at
60+
<a target="_blank" href='https://ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG'>
61+
https://ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG
62+
</a>
63+
</p>
64+

v2/book/list.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
</head>
1818
<body>
1919
<h1>
20-
This is the list of 188 RSCG with examples =>
20+
This is the list of 189 RSCG with examples =>
2121
</h1>
2222

2323
<table >
@@ -778,6 +778,10 @@ <h1>
778778
<td>188</td>
779779
<td><a href="examples/StepwiseBuilderGenerator.html">StepwiseBuilderGenerator</a></td>
780780
</tr>
781+
<tr>
782+
<td>189</td>
783+
<td><a href="examples/MemberAccessor.html">MemberAccessor</a></td>
784+
</tr>
781785
</table>
782786

783787

v2/book/pandocHTML.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ input-files:
202202
- examples/RSCG_CompositeProvider.html
203203
- examples/EntityLengths.Generator.html
204204
- examples/StepwiseBuilderGenerator.html
205+
- examples/MemberAccessor.html
205206

206207
# or you may use input-file: with a single value
207208
# defaults:
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"generator":{
3+
"name":"MemberAccessor",
4+
"nuget":[
5+
"https://www.nuget.org/packages/BunnyTail.MemberAccessor/"
6+
],
7+
"link":"https://github.com/usausa/member-accessor-generator",
8+
"author":"Yamaokuno",
9+
"source":"https://github.com/usausa/member-accessor-generator"
10+
},
11+
"data":{
12+
"goodFor":["Generate getter and setter for class members."],
13+
"csprojDemo":"DemoMember.csproj",
14+
"csFiles":["Program.cs","Person.cs"],
15+
"excludeDirectoryGenerated":[""],
16+
"includeAdditionalFiles":[""]
17+
},
18+
"links":{
19+
"blog":"",
20+
"video":""
21+
}
22+
}

0 commit comments

Comments
 (0)