Commit Graph

18 Commits

Author SHA1 Message Date
Lars-Erik Aabech
c967d6a0fc Makes Container.CreateInstance into an extension 2018-10-26 21:14:19 +02:00
Stephan
a12778fd94 Cleanup IContainer 2018-10-26 16:06:45 +02:00
Lars-Erik Aabech
026f10f38a Register instance by name 2018-10-23 21:31:20 +02:00
Lars-Erik Aabech
4ffcdf6943 Replaced base controller factory with one using the container o:) 2018-09-09 22:58:19 +02:00
Lars-Erik Aabech
236a755f78 Registration changes for LI when registereing transients.
Can now boot backoffice and can log in when using LightInject.
Before this, the automapper profiles weren't there on the container even if registered.
These changes seem to have solved it.
No real proof or testing back and forth, but it makes LI work...

# Conflicts:
#	src/Umbraco.Web/Runtime/WebRuntimeComponent.cs
2018-09-09 22:55:00 +02:00
Lars-Erik Aabech
51c4962477 Registering lightinject with itself again due to mapper collection builder.
It now fails becuse it doesn't support last registered as default ootb when instantiating cachehelper.
Castle fails on missing mapper collection builder when examine starts indexing.
2018-09-09 22:48:59 +02:00
Lars-Erik Aabech
bc80affcf1 Dictionary params & error handling 2018-09-09 22:45:09 +02:00
Stephan
fed9e27332 Revert "Get rid of container TryGetInstance"
This reverts commit 00b1dda2fe.
2018-08-29 18:50:08 +02:00
Stephan
2319617fed Cleanup LightInjectContainer 2018-08-27 18:09:10 +02:00
Stephan
00b1dda2fe Get rid of container TryGetInstance 2018-08-27 18:08:59 +02:00
Stephan
0eb1ba56a4 Comments 2018-07-23 12:19:26 +02:00
Stephan
6d40269ade More cleanup 2018-07-23 11:08:33 +02:00
Stephan
d2376bf4e3 Cleanup registrations 2018-07-23 08:56:08 +02:00
Stephan
a00f2f0bb9 Refactor, fix collection builders, fix tests 2018-07-21 10:47:29 +02:00
Stephan
97da0829a2 Refactor collection builders for IContainer 2018-07-20 16:36:46 +02:00
Stephan
5836cd05cb Abstract container (in progress) 2018-07-20 15:45:01 +02:00
Stephan
9e9a0d301f Cleanup and Refactor 2018-07-20 09:49:05 +02:00
Stephan
f678c72c4d DisabledCacheHelper, LightInjectContainer 2018-07-06 18:52:23 +02:00