Commit Graph

20 Commits

Author SHA1 Message Date
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
557bea5f95 Move LightInjectExtensions to proper space 2018-08-30 09:30:49 +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
Stephan
9bc8ace8db TEMP 2018-06-29 13:17:46 +02:00
Lars-Erik Aabech
3d2810e6b1 Fixes constructor dependency conondrum for MediaFileSystem. It is Completely Broken (tm). Need to review whole lifetime & registration of it. 2018-06-28 22:38:38 +02:00
Lars-Erik Aabech
34390dec12 Almost got MediaFileSystem in container. 2018-06-20 22:00:41 +02:00
Lars-Erik Aabech
7af04b0a2f Tests pass again 2018-06-19 19:59:12 +02:00
Lars-Erik Aabech
e3d77fb012 Current.Container abstracted. Builds, but fails for collection builder tests. 2018-06-16 13:13:29 +02:00