Exemplo n.º 1
0
 public UnitTest2()
 {
     DebugWindowLogger log1 = new DebugWindowLogger();
     BetterDebugWindowLogger log2 = new BetterDebugWindowLogger();
     _write = new WriteMessage(log1.SendMessage);
     _write += log1.SendMessage;
     _write += log1.SendMessage;
     _write += log2.SendMessage;
     AssignValue(5);
     AssignValue(9);
     
     _writeInt = new WriteInt(AssignValue);
     _writeInt = null;
 }
Exemplo n.º 2
0
 public TestDelegate()
 {
     DebugWindowLogger log1 = new DebugWindowLogger();
     BetterDebugWindowLogger log2 = new BetterDebugWindowLogger();
     _write = new WriteMessage(log2.SendMessage);
 }