Base solution for your next web application
Open Closed

Using IObjectMapper in static class #7425


User avatar
0
ajayak created

How can I use IObjectMapper in a static class?

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

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.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)