Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Using IObjectMapper in static class #7425


User avatar
0
ajayak created

How can I use IObjectMapper in a static class?


1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    Because static classes can't use dependency injection, and it's not recommended to use global dependency injection containers, you can consider another way.