Added singleton for managing ILookups collection, allows for adding/removing/inserting at runtime/startup

This commit is contained in:
shannon@ShandemVaio
2012-07-20 23:42:55 +06:00
parent 6c872e8a65
commit 8f278bcaa5
8 changed files with 118 additions and 16 deletions

View File

@@ -24,7 +24,7 @@ namespace Umbraco.Core
/// <summary>
/// Singleton accessor
/// </summary>
public static ApplicationContext Current { get; set; }
public static ApplicationContext Current { get; internal set; }
// IsReady is set to true by the boot manager once it has successfully booted
// note - the original umbraco module checks on content.Instance in umbraco.dll