Problem inheriting from WebClientFileDownloader class and overriding CreateHttpClient method
bdovaz opened this issue · 1 comments
bdovaz commented
In the 2 constructors of this class a virtual method is invoked (PrepareToDownloadFile > CreateHttpClient) and this is not good practice and is causing me problems:
In sonar you can see why it should not be done and that it is just my exact problem:
https://rules.sonarsource.com/csharp/RSPEC-1699/?search=virtual