示例#1
0
        protected void Setup()
        {
            try
            {
                logger.InfoFormat("Initial setup ...");

                config = NinjectBinding.GetKernel.Get <ConfigurationFile>();

                // Load last configurations
                config.LoadFromFile();

                // Core setup
                AppCoreSetup();
            }
            catch (Exception e)
            {
                ExceptionManager.LogAndShowException(e, "Error", logger);
            }
        }