Skip to content

Commit 7a1f4ae

Browse files
authored
Update README.md
1 parent bedda1d commit 7a1f4ae

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ CsGenerator
8787

8888
## How to use it
8989
Following is first example of ComplexNumber class and then creating its ClassModel for writing to Complex.cs
90-
There are 2 option to configure it:
91-
-one is using Fluent methods (A)
92-
-and other with pure classes and properties (B).
90+
There are 2 option to configure it:
91+
-one is using Fluent methods (A)
92+
-and other with pure classes and properties (B)
9393

9494
Class we want to generate:
9595
````csharp
@@ -149,6 +149,8 @@ namespace CsCodeGenerator.Tests
149149
````
150150

151151
A) Code to do it with Fluent methods:
152+
(Fluent calls are composed with BaseElement, when configuring deeper level we need to instanciate with New and call in the scope;
153+
To be able to get subElements returned to main scope then more extension methods would be needed - one is commented in code: `WithPropertyReturn`)
152154
````csharp
153155
var usingDirectives = new List<string>
154156
{

0 commit comments

Comments
 (0)