Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
4 votes
2 answers
174 views

There is a service IFoo from an external library, which has its own mechanisms for registering its components. I need to register the service in the Dry IoC container, along with its additional ...
1 vote
1 answer
117 views

Recently, I worked with standard tasks using Spring Boot and was faced with unexpected behavior. I have annotation configurations with @Bean annotations and I need to register one of two beans if a ...
1 vote
0 answers
27 views

I am encountering an issue where a lambda expression used to conditionally bind an array of interfaces (Log) based on runtime conditions is not being executed. This problem arises when using boost::di ...
0 votes
1 answer
51 views

I have two DbContext types: private static readonly AutomationContext _aContext; private static readonly RajaDb2Context _bContext; And I also have two repositories: public interface IRepository<T&...
2 votes
1 answer
223 views

So as kind of a foreword I am coming from the world of compiled languages like C# and C++. There when importing types defined in other namespaces or even different assemblies with using or #include ...
0 votes
0 answers
226 views

I have an issue with Laravel (version is 10.10). I have created a singleton in AppServiceProvider.php: public function register(): void { $this->app->singleton('customService', \App\Services\...
0 votes
0 answers
143 views

I have a problem with SimpleInjector and I don't know how to resolve it. I'm getting the following error: The configuration is invalid. Creating the instance for type IMiddleware failed. The ...
1 vote
2 answers
456 views

I am new to IOC containers and i am trying to understand how to use them. I understand the concept but I having issues on how to practically apply it. Currently, I am using Unity ioc container to ...
0 votes
1 answer
52 views

Spring documentation describes that beans managed by Ioc container are implicitly pre-instantiated by default other than specifying them as being lazy-initialized. I define a child bean definition A ...
0 votes
1 answer
236 views

Project is built with .NET 7 MVC. I have created 3 interfaces in my "Application" class library. I will implement these interfaces on my other interfaces or classes. I want the dependencies ...
0 votes
1 answer
87 views

i have this implementation with Grace (it's the same in Ninject) but i need use then in Autofac but autofac does not have a "WhenInjectInto" functionality. How can i migrate this code? Thx ...
-1 votes
1 answer
446 views

Getting this error while saving data into postgres using insert query via ADONISJS commands feature. Followed up the official documentation but not able to solve this. import Database from '@ioc:...
0 votes
1 answer
662 views

I am currently learning how to code in WPF desktop application, and I am following this show a super old tutorial on youtube on the subject: https://www.youtube.com/watch?v=w5kAUCFDRy4&list=...
0 votes
4 answers
721 views

I want to create a Interface to control all windows. I used Microsoft.Extensions.DependencyInjection . Interface IWindowManager and class WindowManager as: public interface IWindowManager { ...
Cherish's user avatar
  • 17
0 votes
0 answers
34 views

Im quite lost here guys, there's this plugin for a gameserver (https://github.com/EvolutionPlugins/Dummy/blob/openmod/Dummy/Services/DummyProvider.cs) which i need to access all the tasks from the ...

15 30 50 per page
1
2 3 4 5
...
144

AltStyle によって変換されたページ (->オリジナル) /