Esempio n. 1
0
 private static void TestMulticastDelegateWithoutArguments()
 {
     var xDebugger = new Debugger("Test", "Delegates");
     xDebugger.Send("Start MulticastDelegate test");
     mCount = 0;
     Action xDelegate = IncreaseCounterOnce;
     xDebugger.Send("Adding second handler now");
     xDelegate += IncreaseCounterOnce;
     xDelegate();
     Assert.AreEqual(2, mCount, "After calling multicast delegate once, Count != 2");
 }
Esempio n. 2
0
 public DebugTextScreen()
 {
     mDebugger = new Debugger("HAL", "DebugTextScreen");
 }
Esempio n. 3
0
File: PCI.cs Progetto: iSalva/Cosmos
 public static void Setup()
 {
     mDebugger = Global.Dbg;
     EnumerateDevices();
 }