internal static void LoadExtensions()
 {
     if (instance == null)
     {
         lock (Sync)
         {
             if (instance == null)
             {
                 instance = new ExtensionContainer();
             }
         }
     }
 }
Example #2
0
 public void Init(HttpApplication application)
 {
     if (null != application)
     {
         application.BeginRequest     += new EventHandler(this.Application_BeginRequest);
         application.AuthorizeRequest += new EventHandler(this.Application_AuthorizeRequest);
         this.applicationInstalled     = ConfigurationManager.AppSettings["Installer"] == null;
         this.currentApplicationType   = HiConfiguration.GetConfig().AppLocation.CurrentApplicationType;
         this.CheckInstall(application.Context);
         if (this.currentApplicationType != ApplicationType.Installer)
         {
             Hidistro.Core.Jobs.Jobs.Instance().Start();
             ExtensionContainer.LoadExtensions();
         }
     }
 }
Example #3
0
        internal static void LoadExtensions()
        {
            if (instance == null)
            {
                lock (Sync)
                {

                    if (instance == null)
                    {
                        instance = new ExtensionContainer();
                    }

                }

            }
        }