Had to remove the Resolution freezing idea because we are lazily instantiating the singleton instances, otherwise

we have to instantiate them all on startup which means that all type searching happens on startup and not lazily which
is bad for performance. I don't think its a big deal that we're not freezing these objects, MVC doesn't freeze its singletons
and nobody seems to have a problem with it, people will just know not to modify these items after startup.
This commit is contained in:
shannon@ShandemVaio
2012-08-01 10:15:39 +06:00
parent bee357ffdc
commit d4806895a9
5 changed files with 5 additions and 66 deletions

View File

@@ -49,8 +49,6 @@ namespace Umbraco.Core.Resolving
set
{
Resolution.EnsureNotFrozen();
if (!_canBeNull && value == null)
throw new ArgumentNullException("value");
_resolved = value;