Commit Graph

82 Commits

Author SHA1 Message Date
amacocian dc1ddd0700 Bugfix for factory propagations 2025-07-30 11:51:54 +02:00
amacocian 6d49832566 Make Slim respect nullable contract of System.IServiceProvider 2025-07-30 00:57:55 +02:00
amacocian 6c4edd3ef8 Allow Slim to build NonPublic constructors 2025-07-30 00:17:24 +02:00
amacocian e9947c6f74 Hotfix for resolvers 2025-07-29 18:54:31 +02:00
amacocian a7242389ba Remove msbuild 2025-07-29 17:53:42 +02:00
amacocian 0ec9731e04 Pipeline fixes 2025-07-29 17:51:18 +02:00
amacocian 825ba3a105 Support for multi registrations of the same interface 2025-07-29 17:45:04 +02:00
amacocian 58c6ec3a14 Remove Moq 2023-08-09 19:13:30 +02:00
amacocian b27e7a984a Add support for remove in servicecontainers (#27) 2022-09-11 12:00:21 +00:00
amacocian 65c00b540b Add support for removing services (#26) 2022-09-11 11:36:35 +00:00
amacocian c487033aad Extend ServiceCollectionExtensions (#25)
* Make ServiceCollectionExtensions use IServiceCollection

* Extend the collectionextensions to use an existing service manager
2022-09-09 17:42:55 +00:00
amacocian bfeb8b8e25 Add support for IServiceProvider.GetServices (#24) 2022-09-09 16:33:47 +00:00
amacocian 1c3f837f41 Add support for IServiceProviderIsService (#23) 2022-09-09 14:46:30 +00:00
amacocian 39f83d30ee Update Readme (#22) 2022-09-09 14:24:53 +00:00
amacocian fbe60bfe1a Fix CD pipeline (#21) 2022-09-09 14:10:23 +00:00
amacocian e8adfa1acc Slim Integration with Microsoft.Extensions.DependencyInjection (#20)
* Setup integration with Microsoft.Extensions.DependencyInjection

* Setup Slim integration project with Microsoft.Extensions.DependencyInjection
2022-09-09 14:26:25 +02:00
amacocian b337497de5 Hardcode servicemanager registration (#19) 2022-09-09 11:33:43 +00:00
amacocian 820b1c9c2e Add ServiceManager support for parent manager (#16)
Prepare integration project
2022-09-09 09:53:35 +00:00
amacocian a9ca960106 Expose more IServiceManager functionality in IServiceProducer and IServiceProvider (#15) 2022-09-06 11:36:10 +00:00
amacocian 64e76c5b4e Add CODEOWNERS (#14) 2022-09-06 10:05:42 +00:00
amacocian 499712671e Move RegisterSolver to IServiceProducer (#13) 2022-09-06 11:53:00 +02:00
amacocian 56c858e61b Package project in CD pipeline 2022-05-12 18:37:00 +02:00
amacocian e6969d4a1b Fix CD pipeline (#12) 2022-05-12 18:31:57 +02:00
amacocian dd1b589b5d Implement DoNotInject attribute (#11)
* Implement DoNotInject attribute

* Upgrade pipelines
2022-05-12 18:13:28 +02:00
amacocian 76462bf368 Introduce priority for preferred constructor (#10) v1.7.2 2022-05-05 08:10:30 +02:00
amacocian 84728090d5 Introduce preferred constructors (#9) v1.7.1 2022-05-04 14:30:14 +02:00
amacocian df5e389934 IsRegistered query DependencyResolvers (#8) v1.7 2022-05-02 08:59:55 +02:00
Alexandru Macocian 8b54ba04d5 Fix readme link 2021-11-12 17:16:43 +01:00
Alexandru Macocian 6dcb5b2456 Improve README.md with new functionality 2021-11-12 17:15:21 +01:00
amacocian b70853b22a Introduced ReadOnly for scoped managers.
Ability to override IsReadOnly when creating scope.
Introduced method to deal with singletons when scoped manager implements them instead of master manager.
v1.6
2021-10-25 14:26:05 +02:00
Alexandru Macocian 4ce4d7fd5b Method for IsRegistered to check if a service is already registered v1.5.5 2021-10-19 12:46:52 +02:00
Alexandru Macocian 3d42622c0b Remove GC.SupressFinalize v1.5.4 2021-10-02 07:36:48 +02:00
Alexandru Macocian d6834e0215 Make ServiceManager dispose services.
Scoped manager disposes only scoped services.
Added parameter to instruct manager to register all interfaces of a type.
v1.5.3
2021-10-02 07:07:35 +02:00
amacocian 30705c58cc Increase code coverage
Fix exception handling
v1.5.2
2021-09-07 12:55:58 +02:00
amacocian 89df62129d Return OfType based on object type instead of interface type v1.5.1 2021-06-17 12:53:31 +02:00
amacocian d3a9ed7894 Ability to return all services of a specified type (#4) v1.5 2021-06-11 10:01:24 +02:00
amacocian d80d3aaa67 Merge pull request #3 from AlexMacocian/alexmacocian/scoped-singleton-calls-original-manager
Scoped ServiceManager calls original ServiceManager when resolving singletons
v1.4.3
2021-06-03 13:23:16 +02:00
Alexandru Macocian 4894af8b9a Added new UT to verify that singleton factories are only called when once 2021-06-03 13:21:58 +02:00
Alexandru Macocian 25c3f771db Fixed warnings 2021-06-03 13:15:06 +02:00
Alexandru Macocian 1a012c5d49 Scoped ServiceManager calls original ServiceManager when resolving singletons 2021-06-03 13:03:29 +02:00
amacocian d13914224b Merge pull request #2 from AlexMacocian/alexmacocian/scoped-own-lists
Scoped servicemanager should have own lists
v1.4.2
2021-06-01 19:46:21 +02:00
Alexandru Macocian 12971f17cf Scoped servicemanager should have own lists 2021-06-01 19:44:52 +02:00
amacocian 028d77d763 Merge pull request #1 from AlexMacocian/alexmacocian/ci-cd-pipelines
Implement CI and CD pipelines
2021-06-01 17:42:52 +02:00
Alexandru Macocian bdcf6c6632 Disable CD pipeline on PRs 2021-06-01 17:41:07 +02:00
Alexandru Macocian 18ad56d234 Use default environment to access secret 2021-06-01 17:37:50 +02:00
Alexandru Macocian f9abcea7ce Update to 1.4.1 to check publish nuget step 2021-06-01 17:32:31 +02:00
Alexandru Macocian 68e32fb942 replace variable with direct value 2021-06-01 17:26:59 +02:00
Alexandru Macocian 09498e229a Enable allow unsecure commands 2021-06-01 17:23:44 +02:00
Alexandru Macocian 08f9eab707 Fixed in cd pipeline 2021-06-01 17:13:16 +02:00
Alexandru Macocian ff108a7f78 Fixed cd pipeline build mention 2021-06-01 16:58:40 +02:00