Exemplo 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");
 }
Exemplo n.º 2
0
 public DebugTextScreen()
 {
     mDebugger = new Debugger("HAL", "DebugTextScreen");
 }
Exemplo n.º 3
0
Arquivo: PCI.cs Projeto: iSalva/Cosmos
 public static void Setup()
 {
     mDebugger = Global.Dbg;
     EnumerateDevices();
 }