Beispiel #1
0
        public static void SynchronizeUserControls()
        {
#if DEBUG
            Stopwatch timer = new Stopwatch();
            timer.Start();
#endif
            WebUserControlsManager userControlsManager = new WebUserControlsManager();
            userControlsManager.Synchronize();

#if DEBUG
            timer.Stop();
            StopwatchLogger.AddToLog(string.Format("Total elapsed time for method 'SynchronizeUserControls': {0}ms.", timer.ElapsedMilliseconds));
            timer.Restart();
#endif
        }
Beispiel #2
0
        private static void SynchronizeUserControls()
        {
            #if DEBUG
            Stopwatch timer = new Stopwatch();
            timer.Start();
            #endif
            WebUserControlsManager userControlsManager = new WebUserControlsManager();
            userControlsManager.Synchronize();

            #if DEBUG
            timer.Stop();
            StopwatchLogger.AddToLog(string.Format("Total elapsed time for method 'SynchronizeUserControls': {0}ms.", timer.ElapsedMilliseconds));
            timer.Restart();
            #endif
        }