![]() I asked the manager/developer, why they did it that way, and why they didn't use the ( IServiceScopeFactory) to create those object dynamically. As you can see, this piece of code violates the open close principle because of just an ego If I have to include SomethingC implementation of ISomething, I have to modify this code.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |