I know my answer is late, but I wanted to share how I did it.
First of all: It's Antipattern to use ServiceLocator so try not to use it as you can In my case I needed it to call MediatR inside of my DomainModel to implement the DomainEvents…
I know my answer is late, but I wanted to share how I did it.
First of all: It's Antipattern to use ServiceLocator so try not to use it as you can In my case I needed it to call MediatR inside of my DomainModel to implement the DomainEvents…
For further actions, you may consider blocking this person and/or reporting abuse
Saif Hussain -
Le Vuong -
Rodrigo de Oliveira -
Taylor Facen -
Top comments (0)