Created
April 16, 2020 16:48
-
-
Save DannyRusnok/26e1f72b629a53609eb8969f93bec954 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Colleague1 : Colleague | |
{ | |
public Colleague1(Mediator mediator) : base(mediator) { } | |
public override void HandleNotification(string message){ | |
Console.WriteLine($"Colleague1 receives message:{message}"); | |
} | |
} | |
public class Colleague2 : Colleague | |
{ | |
public Colleague1(Mediator mediator) : base(mediator) { } | |
public override void HandleNotification(string message){ | |
Console.WriteLine($"Colleague2 receives message:{message}"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment