python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Injecting dependencies into dynamically loaded .dll (.net core)
Similar to How to Inject Dependencies to Dynamically Loaded Assemblies, I want to inject dependencies into classes from dynamically loaded assemblies. Is this possible with the .NET 6.0 DI Container? ...
SvdSinner
Votes: 0
Answers: 2
How to replace a registered service with a new one in MVVM?
Trying to migrate from good old MVVM Light to Windows Community Toolkit. How are we supposed to override a registered service, i.e. replace it with another implementation at runtime?
Example
I have go...
dotNET
Votes: 0
Answers: 2
@Autowired ApplicationContext vs passing an ApplicationContext object to the method
I have a MyRunnalbe implements Runnable and will be excuted by ThreadPoolTaskExecutor.
Inside this MyRunnalbe class, the run() method will call multiple applicationContext.getBean(MyBean.class) to get...
lightrek
Votes: 0
Answers: 1
Is there any way to retrieve a object in a test from a Provide in Guice?
I'm trying to get a Object in a JUnit test from a @Provides in a module which isn't @Injected therefore I cannot get it by the injector.
Is there any way that I can call the method without injecting t...
Juliusdotsh
Votes: 0
Answers: 1