Beispiel #1
0
 public static void detatch()
 {
     _instance.Dispose();
     _instance = null;
 }
Beispiel #2
0
 public static void attach(ProgressChangedEventHandler handler, bool forceConsoleRedirection)
 {
     Debug.Assert(null == _instance);
     _instance = new ConsoleRedirector(handler, forceConsoleRedirection);
 }