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