Exemple #1
0
 public override void Send(string message, StructuralColleague structuralColleague)
 {
     if (structuralColleague == _colleague1)
     {
         _colleague2.Notify(message);
     }
     else
     {
         _colleague1.Notify(message);
     }
 }
Exemple #2
0
 public abstract void Send(string message, StructuralColleague structuralColleague);