Example #1
0
        public static void RestartApplication(this System.Reflection.Assembly assembly, System.Windows.Window wnd, params string[] args)
        {
            var wbounds = wnd.GetWindowStatusForCLI();

            args = new string[] { wbounds }.Concat(args).ToArray();

            assembly.RestartApplication(args);
        }