tryAGI / RefactoringTest

0 stars 0 forks source link

Fixes #1. #5

Open BotJoi opened 1 year ago

BotJoi commented 1 year ago

Fixes #1.

Solving...

  
Using these files:
LegacyApp/ClientRepository.cs
LegacyApp/User.cs
LegacyApp/UserCreditService.cs
LegacyApp/UserDataAccess.cs
LegacyApp/UserService.cs
  
Try to fix №1 - There are compile diagnostics:
/LegacyApp/UserCreditService.cs(26,43): warning CS0169: The field 'UserCreditServiceClient._userCreditServiceChannelImplementation' is never used
/LegacyApp/CreditLimitCalculator.cs(1,1): hidden CS8019: Unnecessary using directive.
/LegacyApp/UserDataAccess.cs(1,1): hidden CS8019: Unnecessary using directive.
/LegacyApp.Consumer/Program.cs(16,35): error CS7036: There is no argument given that corresponds to the required parameter 'clientRepository' of 'UserService.UserService(IClientRepository, IUserValidator, ICreditLimitCalculator)'
  
Solved. The code compiles successfully and contains no diagnostics.

  
CLAassistant commented 7 months ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.