예제 #1
0
 public void DoSomething()
 {
     Debug.WriteLine("Componet 2 does something.");
     Mediator.Notify(this, "Something");
 }
예제 #2
0
 public void DoSomethingElse()
 {
     Debug.WriteLine("Componet 1 does something else.");
     Mediator.Notify(this, "SomethingElse");
 }