Esempio n. 1
0
        ///<summary>
        ///</summary>
        public static void Release()
        {
            if (!SingletonsContainer.Contains <LogFileImpl>())
            {
                return;
            }

            AddLine("----- LogFile Object Released -----");
            SingletonsContainer.Get <LogFileImpl>().Shutdown();
            SingletonsContainer.Remove(SingletonsContainer.Get <LogFileImpl>());
        }
 /// ------------------------------------------------------------------------------------
 /// <summary>
 /// Release the project settings.
 /// NOTE: This method should only be used in tests!
 /// </summary>
 /// ------------------------------------------------------------------------------------
 public static void Release()
 {
     Instance.Dispose();
     SingletonsContainer.Remove(Instance);
 }