public static void Reset() { //Reset(GlobalContainer); if (GlobalContainer != null) { GlobalContainer.Dispose(); GlobalContainer = null; } }