# Instant Reverse. C#. All connections are not built

**URL:** <https://forums.visual-paradigm.com/t/instant-reverse-c-all-connections-are-not-built/17885>\
**Category:** UML\
**Tags:** uml\
**Created:** [February 20, 2023, 11:29am UTC](https://forums.visual-paradigm.com/t/instant-reverse-c-all-connections-are-not-built/17885 "2023-02-20T11:29:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dvorko654](https://avatars.discourse-cdn.com/v2/letter/d/e99b99/32.png) [@dvorko654](https://forums.visual-paradigm.com/u/dvorko654)\
**Post date:** [February 20, 2023, 11:29am UTC](https://forums.visual-paradigm.com/t/instant-reverse-c-all-connections-are-not-built/17885/1 "2023-02-20T11:29:14Z")

</div>

Instant Reverse. C#. All connections are not built.  
Please excuse me in advance if my question is incorrect.  
I started learning C#, so there may be inaccuracies in the questions.

**question.**  
Instant Revers C# doesn’t build all the connections.  
What am I doing wrong?  
Or is there no need for these connections?

`Visual Paradigm` errors (if I understand everything correctly).  
**1.** The diagram in the `HTMLLoader` class does not show that the class accepts the `IParserSettings settings` parameter.  
**2.** The `FormMain` class has no connection to the 'ParserWorker\<string\>`and`HabraParser()` classes.  
Or should there be no such connection?

```auto
class HtmlLoader
{
    readonly HttpClient client;
    readonly string url;

    public HtmlLoader(IParserSettings settings)
    {
        client = new HttpClient();     
    }

    public async Task<string> GetSourceByPageId(int id) { // code... }
}

```

```auto
public partial class FormMain : Form
{
    ParserWorker<string[]> parser;

    public FormMain()
    {
        InitializeComponent();

        parser = new ParserWorker<string[]>(
                new HabraParser()
            );

        parser.OnCompleted += Parser_OnCompleted;
        parser.OnNewData += Parser_OnNewData;
    }

}

```

**I’m using a project**

> **[GitHub - extremecodetv/Html-Parser-Tutorial](https://github.com/extremecodetv/Html-Parser-Tutorial)**
>
> Contribute to extremecodetv/Html-Parser-Tutorial development by creating an account on GitHub.

**Pic-1**

 ![Class Diagram2](https://forums.visual-paradigm.com/uploads/default/original/2X/b/b230be6cc768027eb2728773f5a07d251585670d.jpeg)

---

<div class="post-metadata">

**Author:** ![Rain](https://forums.visual-paradigm.com/user_avatar/forums.visual-paradigm.com/rain/32/2309_2.png) [@Rain](https://forums.visual-paradigm.com/u/Rain)\
**Post date:** [March 1, 2023, 5:45am UTC](https://forums.visual-paradigm.com/t/instant-reverse-c-all-connections-are-not-built/17885/3 "2023-03-01T05:45:44Z")

</div>

Sorry for the delay. I would like to let you know the C# instant reverse didn’t generate association between FormMain & ParserWorker problem has been fixed. Please update the software to latest patch build (20230240ai or later) to get this enhancement.

> **[Update Visual Paradigm to Latest Patch - Visual Paradigm Know-how](https://knowhow.visual-paradigm.com/technical-support/update-to-patch/)**
>
> Upon receiving a problem report or request of enhancement, we do our best to make the necessary changes. You will then be suggested to update your Visual Paradigm installation to the patch release, in which the fix or enhancement has been made. In...

- Please make sure you have pressed the “Update to latest patch” button on the left hand side of the dialog right after launching the update program

Please note that our engine will generate association based on the attributes defined in the class, and will not consider the logic in constructors/operations. Since in FormMain the HabraParser is not define as attribute (it is being defined in constructor’s logic) therefore it will not be reverse as association. Feel free to contact me if you require any further information.
